Start learning with our library of video tutorials taught by experts. Get started
Viewed by members. in countries. members currently watching.
In Flash Professional CS5 Essential Training, author Todd Perkins explains the fundamentals of Flash Professional CS5, the industry standard for creating animations and interactive applications for the web, desktop, and mobile devices. This course starts with the basics, such as using the drawing tools to create simple animations, and progresses to automating animation with tweens and adding interactivity with ActionScript. This course also covers how to add sound and video to projects, enhance realism with effects like easing, and publish a project to a variety of platforms. Exercise files are included.
One alternative to embedding fonts and keeping the file size of your applications low is something called device fonts. Device fonts use fonts that are already on the device that's viewing your application. So you don't have to embed the font. Now, the downside of this is that you have less power over the presentation of your application. But the upside is the font will display properly every time, so you will never have a case where the font doesn't display at all. So that's a good thing. Let's select the text on the Stage and take a look at how we can use device fonts in Flash.
Device fonts are actually in the Character section in the Anti-alias dropdown. So if click that dropdown menu, I can choose Use device fonts. Now, if I use device fonts, the best thing to do to preserve the design from my application, whether it's viewed on any other machine, is to use the special fonts that are at the very top of the Character menu. So I am going to click the Character drop-down and scroll to the very top and you will see three fonts that start with an underscore. There is _sans, _serif, and _typewriter.
Now, these fonts are extremely simple fonts, but you can rest assure that they will render on any device you deploy your application to. So I am going to choose _sans for this example. And that gives me a sans serif font, and maybe that's not the best way to preserve the appearance of my application. So I am actually going to choose _serif instead. Now, that's pretty close to what I originally created. So any device I deploy this application to, whether it's a mobile phone or some other device that has the Flash Player, including a computer, the application will render the text using the device's default serif font.
So this is going to preserve the appearance of my text and I am not going to have to embed it, so my file size will remain low. So again, to use device fonts, all you need do is select a text field on the Stage and then set the Use device font setting in the Anti-alias drop-down in the Properties panel.
There are currently no FAQs about Flash Professional CS5 Essential Training.
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.