684
Understanding Security
In addition, a projector file embeds a specific version of Flash Player inside the projector,
which might be older than the latest version of Flash Player available for download from the
Macromedia website. The Flash Player that’s embedded within the projector file might be a
legacy version if the projector was created with an older version of Flash, or an edition of Flash
Player was released after the current version of the Flash authoring tool. For these reasons, you
should distribute applications using SWF files when possible.
About troubleshooting legacy SWF files
Some legacy FLA and SWF files (created with Flash MX 2004 and earlier) might not work
when you test or deploy them locally (on a hard disk) because of security changes in Flash 8.
This might happen when a SWF file tries to access websites outside its domain, and, in this
case, you need to implement a cross-domain policy file.
You might have FLA or SWF files created in Flash MX 2004 or earlier that have been
distributed to users who do not use the Flash 8 authoring tool but have upgraded to Flash
Player 8. If your locally tested or deployed legacy content (an old SWF file on a user’s hard
disk) breaks because it tries to communicate with the Internet when playing in Flash Player 8,
you must rely on users to explicitly trust your content in order for it to play properly (by
clicking a button in a dialog box).
To learn how to fix legacy content for playback on a local computer, see
“Fixing legacy
content deployed on local computers” on page 684
.
Fixing legacy content deployed on local computers
If you published SWF files for Flash Player 7 or earlier that are deployed on local computers
and communicate with the Internet, users must explicitly allow Internet communication.
Users can stop content from breaking by adding the location of the SWF file on their local
computer to the trusted sandbox in the Settings Manager.
To fix SWF files for local playback, use any of the following options:
Redeploy
Run the Local Content Updater. The Local Content Updater reconfigures your
SWF file to make it compatible with the Flash Player 8 security model. You reconfigure the
local SWF file so it can either access only the network or only the local file system. For more
information, and to download the Local Content Updater, see
www.macromedia.com/
support/flashplayer/downloads.html
.
Summary of Contents for FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH
Page 1: ...Learning ActionScript 2 0 in Flash...
Page 8: ...8 Contents...
Page 18: ...18 Introduction...
Page 30: ...30 What s New in Flash 8 ActionScript...
Page 66: ...66 Writing and Editing ActionScript 2 0...
Page 328: ...328 Interfaces...
Page 350: ...350 Handling Events...
Page 590: ...590 Creating Interaction with ActionScript...
Page 710: ...710 Understanding Security...
Page 730: ...730 Debugging Applications...
Page 780: ...780 Deprecated Flash 4 operators...
Page 830: ...830 Index...