
380
USING FLASH CS4 PROFESSIONAL
Publishing and Exporting
•
As part of a QuickTime video
•
As a stand-alone application called a projector
The Flash SWF file format is an open standard that other applications support. For more information about Flash
file formats, see
www.adobe.com/go/flashplayer
.
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.
Note:
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
” on
page
384.
Flash can create the HTML document automatically when you publish a SWF file.
Publishing for mobile devices
Adobe® Flash® Lite® lets Flash users create engaging content for mobile phones using the ActionScript® scripting
language, drawing tools, and templates. For detailed information on authoring for mobile devices, see
Developing Flash
Lite Applications
and the Content Development Kits on the Mobile and Devices Development Center at
www.adobe.com/go/devnet_devices
.
Note:
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.
Adobe also provides Adobe Device Central, a new way to test content created with Adobe products on emulated
mobile devices. When creating a new mobile document of any kind, start the creation process from Device Central.
Device Central lets you select a target device from the beginning of the development process, and have a clear idea what
a device’s limitations are.
Publishing secure Flash documents
Flash Player 8 and later contain the following features that help you ensure the security of your Flash documents:
Buffer overrun protection
Enabled automatically, this feature prevents the intentional misuse of external files in a Flash document to overwrite
a user’s memory or insert destructive code such as a virus. This prevents a document from reading or writing data
outside the document’s designated memory space on a user’s system.
Exact domain matching for sharing data between Flash documents
Flash Player 7 and later enforce a stricter security model than earlier versions. The security model changed in two
primary ways between Flash Player 6 and Flash Player 7:
Exact domain matching
Flash Player 6 lets SWF files from similar domains (for example,
www.adobe.com
and
store.adobe.com
) communicate freely with each other and with other documents. In Flash Player 7, the domain of
the data to be accessed must match the data provider’s domain
exactly
for the domains to communicate.
HTTPS/HTTP restriction
A SWF file that loads by using nonsecure (non-HTTPS) protocols cannot access content
loaded by using a secure (HTTPS) protocol, even when both protocols are in exactly the same domain.
Updated 5 March 2009