tailieunhanh - Học Actionscript 3.0 - p 29
text PART III Part III focuses exclusively on text, and covers a variety of text uses. Chapter 10 begins with the dynamic creation of text fields and the styling of text elements using TextFormat objects. Using this approach, text styles can be precreated and applied to individual text fields at any time. For global styling, you can use a combination of HTML and Cascading Style Sheets (CSS). Both the HTML content and the CSS styles can be created internally or loaded from external sources. By using HTML and CSS, you can establish styles that apply to an entire project, if desired. Further, CSS. | TEXT PART III Part III focuses exclusively on text and covers a variety of text uses. Chapter 10 begins with the dynamic creation of text fields and the styling of text elements using TextFormat objects. Using this approach text styles can be precreated and applied to individual text fields at any time. For global styling you can use a combination of HTML and Cascading Style Sheets CSS . Both the HTML content and the CSS styles can be created internally or loaded from external sources. By using HTML and CSS you can establish styles that apply to an entire project if desired. Further CSS styles can be edited easily in one central location and all text to which the styles are applied will be automatically updated. We finish the chapter with a look at Adobe s new text technology the Text Layout Framework TLF . Built atop Flash Player s new text engine TLF was officially released both as part of the Flash Professional CS5 interface and as a set of ActionScript classes and offers Flash Platform users unprecedented typographic control. IN THIS PART Chapter 10 Text 259 Download from Wow eBook Download from Wow eBook CHAPTER lEXT Working with text can be a basic affair such as displaying a simple text string in a default text field or as complex as your needs require perhaps creating individual text fields for every character in a string to build an animated text effect. Learning how to create and manipulate text objects at runtime with ActionScript can increase flexibility and make it much easier to reuse code from project to project. In this chapter we ll focus mostly on how to display populate and format text data. We ll discuss two kinds of text the traditional Flash Platform text technology available for many years and newly christened Classic text and text created using the Text Layout Framework TLF a significantly more robust text technology introduced with Flash Player 10. TLF offers improved typographical control support for .
đang nạp các trang xem trước