OK…
I made a button out of a MC using this code:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
this.onRelease = function(){
getURL("http://www.thesite.com/");
}
I’m happy with the result. Is there a way to use this code to “loadmovie” say from a container? I tried putting this in place of the “onRelease” function (I changed it to an “if” statement):
if (_root.currMovie == undefined) {
_root.currMovie = "news";
container.loadMovie("news.swf");
} else if (_root.currMovie != "news") {
if (container._currentframe >= container.midframe) {
_root.currMovie = "news";
container.play();
}
}
}
If anything, this serves to show what I’m trying to get it to do.
Thank you!