tailieunhanh - adobe flash cs5 on demand part 31

Bạn có biết? Bạn có thể thử nghiệm cho thiếu phông chữ. Nếu có thông tin không đầy đủ font vào máy tính của bạn, phông chữ có thể xuất hiện trong danh sách Font trong Flash, nhưng sẽ không nhúng trong bộ phim cuối cùng. Để kiểm tra xem font một được hoàn tất, hãy nhấp vào menu View, điểm để xem trước Mode, và sau đó nhấp vào Antialias Text. Nếu văn bản xuất hiện răng cưa, có nghĩa là font phác thảo bị mất khỏi hệ thống | Set a Text Box to Device Font Select the text box you want to set to the device font with the Selection tool. Click the Anti-Alias list arrow in the Property Inspector and then click Use Device Fonts. Did You Know You can test for missing fonts. If there is incomplete font information on your computer fonts may appear in the Font list in Flash but will not embed in the final movie. To test whether a font is complete click the View menu point to Preview Mode and then click Antialias Text. If the text appears jagged this means the font outlines are missing from the system. Choose a Built-In Flash Device Font Select the text box you want to set to the device font with the Selection tool. Click the Family list arrow in the Property Inspector or click the Text menu point to Font and then select one of the following fonts _sans. Matches up with a sans-serif font such as Helvetica or Arial. _serif. Matches up with a serif font such as Times or Garamond. _typewriter. Matches up with a typewritten-looking font such as Courier. Set a text field to device font. Chapter 5 Working with Text 185 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 .