MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 950

Actionscript 2.0 language reference
Table of Contents

Advertisement

A SWF file or image loaded into a movie clip inherits the position, rotation, and scale
properties of the movie clip. You can use the target path of the movie clip to target the loaded
movie.
You can use the
loadClip()
MovieClipLoader listener objects are passed to the loading target movie clip instance as
parameters. Alternatively, you can create a different MovieClipLoader object for each file that
you load.
Use
MovieClipLoader.unloadClip()
or to cancel a load operation that is in progress.
MovieClipLoader.getProgress()
not report the actual
files are local. When you use the Bandwidth Profiler feature in the authoring environment,
MovieClipLoader.getProgress()
report the download at the actual download rate, not at the reduced bandwidth rate that the
Bandwidth Profiler provides.
When using this method, consider the Flash Player security model.
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()
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
950
ActionScript classes
method to load one or more files into a single movie clip or level;
to remove movies or images loaded with this method
and
MovieClipLoaderListener.onLoadProgress
and
bytesLoaded
bytesTotal
and
MovieClipLoaderListener.onLoadProgress
values in the authoring player when the
method to adjust these restrictions.
do

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF