|
-
Senior Member
something liek this you mean?
*tip: is not recommended putting code ON object/movieClip like you are.. its better to put all code in the FRAME/timline
the top vars would go in the MAIN timeline
var isPlaying:Boolean = false;
var targetClip:MovieClip;
on (rollOver) {
this.boxfill.gotoAndPlay("startboxfill");
this.blackout.gotoAndPlay("startblackout");
this.resumetext.gotoAndPlay("startresume");
}
on (rollOut) {
this.boxfill.gotoAndPlay("stopboxfill");
this.resumetext.gotoAndPlay("endresume");
}
on(press){
this.resumetext.gotoAndPlay("downresume");
}
on (release){
if(_parent.isPlaying == true){
_parent.targetClip.gotoAndStop("endFrame");
_parent.targetClip = this;
}else{
_parent.isPlaying = true;
_parent.targetClip = this;
}
this.resume.gotoAndPlay("startresume");
this.stripout.gotoAndPlay("startdark");
//this.resume.gotoAndPlay("upagain");
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|