Answered
This topic has been closed for replies.
no, you'll probably want to use something like the following where mc1 and mc2 are your duplicate movieclips (that vary in color).
this.mc2.visible = false;
stage.addEventListener('stagemousedown',downF.bind(this));
function downF(){
this.mc1.visible=!this.mc1.visible;
this.mc2.visible=!this.mc2.visible;
if(this.mc1.visible){
this.mc1.gotoAndPlay(this.mc2.currentFrame);
} else {
this.mc2.gotoAndPlay(this.mc1.currentFrame);
}
}
Sign up
Already have an account? Login
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inSign in to Adobe Community
To post, reply, or follow discussions, please sign in with your Adobe ID.
Sign inEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.
