Name
MovieClip.loadMovie( )
Method — load an external .
swf file into the Player
Availability
Method form introduced in Flash 5 (global form supported by Flash 4)
Synopsis
mc.loadMovie(URL) mc.loadMovie(URL, method)
Arguments
- URL
A string specifying the location of the external
.swffile to load.
- method
An optional string literal indicating the method by which to send variables to an external script. Must be either the literal
"GET"or"POST"; no other expression is allowed.
Description
The MovieClip.loadMovie( ) method is an
alternative to the global loadMovie( ) function.
When invoked as a MovieClip( ) method,
loadMovie( ) takes no
target parameter; it loads the
.swf at URL into
mc. The method syntax is less prone to
user error than its global function counterpart.
For usage instructions, see the global loadMovie(
) function.
See Also
loadMovie( ); Section 13.8.3.1 in Chapter 13
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access