I have a movieclip that on rollover “rises up” and another movieclip starts playing and “comes from under him”… On roll out both movieclips go back. What I want is if i rollover the second movieclip both of them to stop… and on rollout to continue…
This is the code for the first movieclip:
stop();
this.onEnterFrame = function(){
if(rewind == true){
prevFrame();
_root.rollout1.prevFrame(); // This is the second movieclip
}
}
this.onRollOver = function(){
rewind = false;
play();
}
this.onRollOut = function(){
rewind = true;
}
Please help !