Hi
I am trying to load a swf file using the MovieClip loader object.
var myMCL:MovieClip Loader = new MovieClipLoader ();
var myListener:Obje ct = new Object();
myMCL.addListen er(myListener);
At the moment I have the swf loading as soon as a frame is entered on the timeline.
this.button1.on Press = function() {
gotoAndStop("fr amex");
}
Code on frame
myMCL.loadClip( "my.swf", 50);
Is there a way to load the swf as soon as the button is clicked.
Something like
button1.onRelea se = function() {
myMCL.loadClip( "my.swf", 50);
}
Any help would be welcome!
I am trying to load a swf file using the MovieClip loader object.
var myMCL:MovieClip Loader = new MovieClipLoader ();
var myListener:Obje ct = new Object();
myMCL.addListen er(myListener);
At the moment I have the swf loading as soon as a frame is entered on the timeline.
this.button1.on Press = function() {
gotoAndStop("fr amex");
}
Code on frame
myMCL.loadClip( "my.swf", 50);
Is there a way to load the swf as soon as the button is clicked.
Something like
button1.onRelea se = function() {
myMCL.loadClip( "my.swf", 50);
}
Any help would be welcome!
Comment