MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT Reference Manual page 547

Actionscript reference guide
Hide thumbs Also See for FLASH MX 2004 - ACTIONSCRIPT:
Table of Contents

Advertisement

Example
See MovieClipLoader.loadClip().
See also
MovieClipLoader.onLoadProgress()
MovieClipLoader.loadClip()
Availability
Flash Player 7.
Usage
my_mcl.loadMovie("url", target )
Parameters
The absolute or relative URL of the SWF file or JPEG file to be loaded. A relative path
url
must be relative to the SWF file at level 0. Absolute URLs must include the protocol reference,
such as http:// or file:///. Filenames cannot include disk drive specifications.
The target path of a movie clip, or an integer specifying the level in Flash Player into
target
which the movie will be loaded. The target movie clip will be replaced by the loaded movie
or image.
Returns
Nothing.
Description
Method; loads a SWF or JPEG file into a movie clip in Flash Player while the original movie is
playing. Using this method lets you display several movies at once and switch between movies
without loading another HTML document.
Using this method instead of
advantages:
The
MovieClipLoader.onLoadStart()
The
MovieClipLoader.onLoadError()
The
MovieClipLoader.onLoadProgress()
The
MovieClipLoader.onLoadInit()
the clip have executed, so you can being manipulating the loaded clip.
A movie 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 this method to load one or more files into a single movie clip or level;
MovieClipLoader listener objects are passed the loading target movie clip instance as a parameter.
Alternately, you can create a different MovieClipLoader object for each file you load.
Use
MovieClipLoader.unloadClip()
to cancel a load operation that is in progress.
or
loadMovie()
MovieClip.loadMovie()
handler is invoked when loading begins.
handler is invoked if the clip cannot be loaded.
handler is invoked as the loading process progresses.
handler is invoked after the actions in the first frame of
to remove movies or images loaded with this method or
has a number of
MovieClipLoader.loadClip()
547

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents