Hi all,
I need some help with getting a piece of action script right - hope someone can help .
I have a button within a movieclip. The movie clip sits on the main timeline, & there is a stop action on the main timeline at frame 517. I want the button to execute the loading of an external swf file into an empty movieclip ( instance name - a ) which sits on the main timeline at frame 518. So, i need the actionscript on the button to start the main timeline, & load the external.swf file ( called cap1.swf) into the empty movie clip ( instance name - a) so that it plays on the main timeline.
The code that i have attached to the button is :
on (press) {
_root.play();
} (starts the main timeline ok)
on (press) {
this._parent.a.loadMovie(“cap1.swf”);
} (should load the movieclip - but doesnt)
However, the external.swf does not load into the empty movieclip. What is it that i’m getting wrong ??
Thanks.