TAILIEUCHUNG - Thiết kế flash với flash cs5 part 28

Tạo Classic Dynamic Text và văn bản nhập vào Khi bạn tạo các hộp văn bản cổ điển trong Flash, họ mặc định cho hộp tĩnh. Một hộp tĩnh là cho hiển thị chỉ và mã hóa cứng trong swf Một không thể thay đổi trừ khi bạn quay lại môi trường phát triển Flash, chỉnh sửa nó, và tái xuất các tập tin. Nếu bạn cần văn bản của bạn được thể cập nhật từ một nguồn bên ngoài, chẳng hạn như một tài liệu văn bản trên một máy chủ, hoặc nếu bạn cần người sử dụng nhập văn. | Creating Classic Dynamic Text and Input Text When you create Classic text boxes in Flash they default to static boxes. A static box is for display only and is hard-coded in the .swf. One cannot be changed unless you return to the Flash development environment edit it and re-export the file. If you need your text to be updatable from an outside source such as a text document on a server or if you need the user to input text for you to retrieve and process with ActionScript you can set your text box to enable this functionality. Setting your text box to dynamic text turns it into an ActionScript object that can be given an instance name or turned into a variable that can be populated from some other source outside of the .swf. This is great when you need to update content on the fly and would rather not have to deal directly with Flash for each update. If you require the user to enter a string of text such as in a form you can set a text box to input text. This enables the user to enter information in the text box that can be retrieved and processed. Set a Classic Text Box to be Dynamic Select the Classic text box you want to be a dynamic box with the Selection tool. Click the Text Type list arrow in the Property Inspector and then click Dynamic Text. Select from the following properties Instance Name. Gives the text box an instance name so it can be controlled with ActionScript. Embed Options. Allows you to choose which characters you want to embed in the text. Letter Spacing. Changes character position on a line. Render Text As HTML. Preserves Rich Text Formatting allowing you to include hyperlinks and HTML tags. Show Border. Displays a border around the text box in the exported movie. Variable Name. Gives the text box a variable name for use with ActionScript. dynamic text 5 dynamic text Dynamic text boxes display in a dashed bounding box. Instance Name 3 Embed Options Letter Spacing Show Border Render Text As HTML Line Type Variable Name 186 Chapter 5 Set a .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.