I used the code below to create an animated button. Now what I want to do is to load an external swf into a container when the user clicks the button. What code should I add (if possible) to allow the MC to do this??
And can i just create a container movie like normal? or do i have to put anything special on it?
stop();
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function() {
rewind = false;
play();
};
this.onRollOut = function() {
rewind = true;
};
//i think i get rid of this? (below)
this.onRelease = function() {
_root.gotoAndStop(“port1”);
};
Any help would be appreciated! Thanks.