445
USING FLASH CS4 PROFESSIONAL
Best practices
6
If necessary, adjust the view of the graph by taking one of the following actions:
•
Select View
> Streaming Graph to show which frames cause pauses.
This default view displays alternating light and dark gray blocks that represent each frame. The side of each block
indicates its relative byte size. The first frame stores a symbol’s contents, so it is often larger than other frames.
•
Select View
> Frame by Frame Graph to display the size of each frame.
This view helps you see which frames contribute to streaming delays. If any frame block extends above the red line in
the graph, Flash Player stops playback until the entire frame downloads.
7
Close the test window to return to the authoring environment.
After you set up a test environment using the Bandwidth Profiler, you can open any SWF file directly in the test
environment. The file opens in a Flash Player window, using the Bandwidth Profiler and other selected viewing
options.
Generate a final report
1
Select File
> Publish Settings, and click the Flash tab.
2
Select Generate Size Report.
3
Click Publish.
Flash generates a text file with the .txt extension. (If the document file is myMovie.fla, the text file is myMovie
Report.txt.) The report lists the size of each frame, shape, text, sound, video and ActionScript script by frame.
Tips for creating content for mobile devices
Creating Flash content for use on mobile devices
To create Flash content for mobile devices, follow some basic principles. For example, Flash developers often avoid
extremely complex artwork and excessive tweening or transparency.
Flash Lite developers face additional challenges because performance on mobile devices varies greatly. If content must
be published to many different devices, developers sometimes have to author for the lowest common denominator.
Optimizing mobile content requires making trade-offs. For example, one technique may make the content look better,
while another results in better performance. As you evaluate these trade-offs, you will be going back and forth
repeatedly between testing in the emulator and testing on the target device. You must see your content on the actual
device to evaluate the trueness of colors, text readability, physical interactions, UI responsiveness, and other aspects of
the real mobile experience.
For more tips and techniques for creating content for mobile phones and devices, see
www.adobe.com/go/learn_cs_mobilewiki_en
.
Updated 5 March 2009