22.2. Using the Mobile Emulator

Problem

You want to test a Flash Lite movie.

Solution

View the movie in the Mobile Emulator.

Discussion

Flash MX 2004 included a very simple (and often confusing) Flash Lite emulator. Flash 8 includes a new Mobile Emulator, which provides greatly enhanced Flash Lite testing capabilities. To use the Mobile Emulator:

  1. Create a new Flash Lite movie (or open an existing one).

  2. Test the movie (Control → Test Movie or Command-Enter).

When issuing the Test Movie command on a Flash Lite document, the Mobile Emulator is launched in place of the standard Test Movie window. If you created the movie using a device template (see Recipe 22.1 for discussion of device templates), the Test Device list is pre-populated with the appropriate devices. If you set the document’s publish settings to Flash Lite manually, the Test Device list is populated with your default device list or <None Selected>.

Flash 8 initially ships with more than 90 device emulators for your testing needs. The devices are grouped by content type, manufacturer, carrier, and platform.

There are 22 different Flash Lite content types (also known as application modes). Each Flash Lite device supports a subset of this group. Some devices, for example, can support Flash animations for incoming calls. In this chapter, and in the Flash Lite development community, focus is on content for the Standalone Player and Browser content types, as these content types support the most advanced set of features. The Standalone ...

Get Flash 8 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.