-
Innovative Contemporary Design
Movie Rewind/Play Backwards!
Hi there,
I see that this code was posted in this section before to reverse/backward a movie clip.
[CODE]
button_mc.onPress = function(){
this.onEnterFrame = function(){
your_mc.gotoAndStop(_currentframe-1);
}
}
//
button_mc.onRelease=function(){
this.onEnterFrame=null;
}
I understand what this code does...but don't have a clue how to use it in context of my movie clip. I have a clip that I wish to reverse with a button that controls that so when the button is selected the movie clip rewinds to the first frame and stops. Do I put the button inside the clip or on the main timeline where my clip is, also what is meant by button_mc? What has to be changed there? And also does this or your_mc have to be changed?
Give me your feedback, I'm pretty new to this actionscript game!
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
|