![MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference Download Page 68](http://html.mh-extra.com/html/macromedia/flash-8-actionscript-2-0-language/flash-8-actionscript-2-0-language_reference_687537068.webp)
68
ActionScript language elements
For Flash Player 8:
■
Loading is not allowed if the calling movie clip is in the local-with-file-system sandbox
and the loaded movie clip is from a network sandbox.
■
Loading is not allowed if the calling SWF file is in a network sandbox and the movie clip
to be loaded is local.
■
Network sandbox access from the local-trusted or local-with-networking sandbox requires
permission from the website by means of a cross-domain policy file.
■
Movie clips in the local-with-file-system sandbox may not script movie clips in the local-
with-networking sandbox (and the reverse is also prevented).
For Flash Player 7 and later:
■
Websites can permit cross-domain access to a resource by means of a cross-domain policy
file.
■
Scripting between SWF files is restricted based on the origin domain of the SWF files. Use
the
System.security.allowDomain()
method to adjust these restrictions.
For more information, see the following:
■
Chapter 17, "Understanding Security," in
Learning ActionScript 2.0 in Flash
■
The Flash Player 8 Security white paper at http://www.macromedia.com/go/fp8_security
■
The Flash Player 8 Security-Related API white paper at http://www.macromedia.com/go/
fp8_security_apis
Availability:
ActionScript 1.0; Flash Player 3 - The ability to load JPEG files is available as of
Flash Player 6. The ability to load unanimated GIF files, PNG files, or progressive JPEG files
is available as of Flash Player 8.
Parameters
url
:String
- The absolute or relative URL of the SWF or JPEG file to be loaded. A relative
path must be relative to the SWF file at level 0. Absolute URLs must include the protocol
reference, such as http:// or file:///.
target
:Object
- A reference to a movie clip object or a string representing the path to a
target movie clip. The target movie clip is replaced by the loaded SWF file or image.
method
:String
[optional] - Specifies an HTTP method for sending variables. The parameter
must be the string
GET
or
POST
. If there are no variables to be sent, omit this parameter. The
GET
method appends the variables to the end of the URL and is used for small numbers of
variables. The
POST
method sends the variables in a separate HTTP header and is used for
long strings of variables.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...