Creating Dynamic Text Fields and Retrieving Information

Tạo Dynamic Text Fields và lấy thông tin trong Flash, có ba loại đối tượng văn bản: đầu vào tĩnh, và năng động. Bạn soạn văn bản tĩnh trên sân khấu sử dụng công cụ Text. | Creating Dynamic Text Fields and Retrieving Information In Flash there are three types of text objects static input and dynamic. You compose static text on the stage using the Text tool. However because you can t change the font font size or content of any static text area once an SWF file is created you use static text for text that you ll only need to change occasionally. Web site navigation buttons for example are good candidates for static text. Input text defines a text area that can be edited by users at run time. In other words it s where users enter text. Input text fields are generally employed to gather from the user textual information that your movie uses or sends to a server for processing. This type of text field is commonly found in Flash forms. A dynamic text field is a text area on the stage that can be populated or filled with text as a movie plays which means the text can change as the movie plays. A dynamic text field can also be set to display simple HTML-formatted text. A news section of a Flash Web site is a good example of where dynamic text would be useful. When you use a dynamic text field to display HTML-formatted text you set attributes such as color font and hyperlinks dynamically. NOTE All input and dynamic text fields placed in a project are instances of the Text Field object. As such you can control and change them using properties and methods of that class. You configure text fields using the Property Inspector. If you select the text tool from the Tools panel and open the Property Inspector from Window Properties you ll see that it includes a drop-down menu at the top where you can select one of the three text types static dynamic or input . Depending on which text type you select different text options are available. If you select Static Text from the drop-down list in the Property Inspector you can choose from these options Use Device Fonts. If you select this option Flash will use fonts installed on the user s computer rather .

Không thể tạo bản xem trước, hãy bấm tải xuống
TÀI LIỆU MỚI ĐĂNG
Đã 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.