View Full Version : playing frames backwards
eyeinfinitude
November 16th, 2002, 02:37 PM
I'm not sure if this is possible or not, but could you use an AS to play the timeline backwards? Or play a MC backwards? Could someone help me? Thanks in advance. =)
lostinbeta
November 16th, 2002, 02:40 PM
Try this....
http://www.actionscript.org/actionscripts_library/main/search.cgi?query=Play+Backwards
eyeinfinitude
November 16th, 2002, 02:47 PM
wow, I barely got up to get a drink and you already replied! :P
That link you gave me will be very useful, thanks a lot! =)
lostinbeta
November 16th, 2002, 04:01 PM
No problem :)
Scootman
November 17th, 2002, 09:57 PM
that tutorial looked like it overdid what you are trying to accomplish... but i only glanced at it... an easy way i found though is just
onClipEvent(enterFrame)
{
this.gotoAndStop(this._currentframe - 1);//goes to the previous frame
//here just stick an if statment saying if it hits the first frame gotoAndStop(the last frame)
}
thats a simpler way... and you dont have to put this code within the movie clip you are trying to make play backwards... you can do it from a different movie clip or whatever and access it with _root.whatever instead of this. but the concept is the same...
hope this helps
eyeinfinitude
November 17th, 2002, 10:47 PM
I haven't tried your method yet, but it does look less complicated then the tutorial above. Etheir way I'm sure both methods would work. Thanks guys. =)
Mr. X
November 18th, 2002, 02:45 AM
dunno exactly what you need to do and didn't look at the tutorial suggested by lib, so sorry if it's redundant:
_root.mySexyClip_mc.onEnterFrame = function() {
if (condition) {
this.prevFrame();
}
};
eyeinfinitude
November 18th, 2002, 03:57 AM
I haven't been able to test out any of these methods, but I'll let you know once I do though, thanks for helping. =)
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.