Hi y’all,
I have two MC’s on the root timeline. Inside MC1, there is a rollover object, what I
want to do is when it is rolledover, it will play() MC2 (MC2’s instance name is bg_fade).
Also, when it is rolledout of, I want it to rewind bg_fade.
The AS I’ve tried so far is:
//in MC1:
stop();
var rewind:Boolean;
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
bg_fade.prevFrame();
}
}
this.onRollOver = function(){
_root.stop();
bg_fade.play();
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true
_root.play();
}
this.onMouseDown = function(){
rewind = true
_root.play();
}
I’m using flash CS3 trial, with publishing settings set to AS2.0 and flash8.
I know that it’s probably the wrong way to go about doing it using bg_fade.play();, but I had no idea what to do, pity it didn’t work, though… any suggestions?