loadMovie
Introduction
This is for inserting a external Flash movie in your Flash.
You can have for example as a movie player.
This isn't like the getURL action since this loads a movie directly.
Loads a .swf movie or a .jpeg picture.
I searched throught the AS:Main and couldn't find another thread like this so I guess this is ok?
Usage
The code is like this:
loadMovie("url",level/target[,variables])
or
level/target.loadMovie("url"[,variables])
url - The url/link to the movie/picture. If this is used as a test you got to have the other movie in the same folder or else you got to use http:// if it is on a other website.
target - With a target/mc the movie/picture get the same _x and _y values as the target.
variable - This is used to send the movie with either GET or POST. I won't take this up here so you'll have to look in another AS:Main thread for that.
If you want the movie to load fullscreen simple write
_root.loadMovie("url"[,variables])
If you want to unload the movie use
unloadMovie ("link");
I'm not sure if the unloadMovie will work. If not please tell me and I'll fix it.
Example
To load the movie 'link.swf' with a button on release:
on(release){
_root.loadMovie("link.swf");
}
~GWHC