beautypg.com

Html documents, Detecting whether flash player is present, Publishing for mobile devices – Adobe Flash Professional CC 2014 v.13.0 User Manual

Page 910

background image

To the top

Note:

To the top

To the top

Note:

Internet Explorer 6. This issue was resolved in Internet Explorer 7.)

Optimizing animations and FLA files (7:24) (CS3)

Google Analytics for Adobe Flash (4:11)

Tracking Flash CS4 applications with Google Analytics (41:13)

HTML documents

You need an HTML document to play a SWF file in a web browser and specify browser settings. To display a SWF file in a web browser, an HTML
document must use the object and embed tags with the proper parameters.

You can generate an HTML document using the correct object and embed tags using the Publish Settings dialog box, and selecting the

HTML option. For more information, see Specify publish settings for HTML documents .

Flash Pro can create the HTML document automatically when you publish a SWF file.

Detecting whether Flash Player is present

In order for your published Flash Pro content to be seen by Web users, Flash Player must be installed in their Web browser.

The following resources and articles provide up-to-date information about how to add code to your web pages to determine if Flash Player is
installed and provide alternative content in the page if it is not.

Flash Player Developer Center: Detection, installation, and administration

(Adobe.com)

Flash Player Detection Kit

(Adobe.com)

Adobe Flash Player version checking protocol

(Adobe.com)

Future-Proofing Flash Player Detection Scripts

(Adobe.com)

Publishing for mobile devices

Adobe® AIR® for Android® and iOS® lets Flash Pro users create engaging content for mobile devices using the ActionScript® scripting language,
drawing tools, and templates. For detailed information on authoring for mobile devices, see the

AIR Developer Reference

and the Content

Development Kits in the

Mobile and Devices Development Center

.

Depending on the mobile device for which you are developing, certain restrictions can apply as to which ActionScript commands and sound

formats are supported. For more details, see Mobile Articles on the Mobile and Devices Development Center.

Testing mobile content with the Mobile Content Simulator

Flash Pro also includes a Mobile Content Simulator, a way to test content created with Adobe AIR in an emulated Android or iOS environment.
With the Mobile Content Simulator, you can use the Control > Test Movie command to test your Flash file in the AIR Debug Launcher for Mobile,
which in turn launches the simulator.

Once the simulator window is opened, you can send input to the Flash file as if it were running on a mobile device. The inputs available include:

Accelerometer, X, Y, and Z axes

Orientation threshold angle

Touch and gestures, including pressure sensitivity

Geolocation, direction, and velocity

Hardware keys (found on Android devices)

903