MovieClip.loadMovie( ) Method | Flash 5; Flash 6 adds .jpg loading and security restrictions |
load an external .swf file into the Player |
A string specifying the location of the external .swf or .jpg file to load.
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.
The MovieClip.loadMovie( ) method is an alternative to the global loadMovie( ) function. When invoked as a MovieClip method, loadMovie( ) does not take a target parameter; it loads the .swf or .jpg from url into mc. The MovieClip method syntax is less prone to user error than its global function counterpart because no target parameter is required.
For usage instructions, see the global loadMovie( ) function.
loadMovie( ), loadMovieNum( ), MovieClip.getURL( ); Section 13.7