I Have made a movie clip button, But i am try’n to get it to load a external SWF into a MC. Now my AS is, (txt highlight in red is the area i am having a problem with!) It mean alot if some one could help me out!
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
[COLOR=Red]this.onRelease = function(){
if (_root.currMovie == undefined) {
_root.currMovie = “temp3_pageone”;
container.loadMovie(“temp3_pageone.swf”);
} else if (_root.currMovie != “temp3_pageone”) {
if (container._currentframe >= container.midframe) {
_root.currMovie = “temp3_pageone”;
container.play();
}
}
}
[/COLOR]