Hi! I’m pretty new on actionscript coding. Trying to call an external swf into stage with a movie clip symbol. How can i do this?
I’d like to merge these 2 codes:
This one i use for a movie clip buttons effect:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
Then mix this (following code only works for me in a button symbol) to the previous code and make them work together:
on (release) {
if (_root.currMovie == undefined) {
_root.currMovie = "section2";
container.loadMovie("section2.swf");
} else if (_root.currMovie != "section2") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "section2";
container.play();
}
}
}
thanks!