Playing Frames In Reverse?
I have a movie clip that I am wanting to play in reverse, can anyone help me with this?
FlashKit > Flash Help > Flash MX
Posted on: 02-14-2004, 03:50 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Playing Frames In Reverse
Hi all
Does anyone know how to add an action script to a button that plays a sequence of frames in reverse? At the moment I have one button that scrolls an image one way and I want to be able to have another button that reverses it the other way.
Probably something v. simple but am a bit of a Flash beginner!
Many Thanks
Mike
Playing Frames In Reverse
Hi everyone,
I'm not sure how to attack the problem I'm having (I've considered a baseball bat...) so I was wondering if someone could help me out.
Here's the deal: I have a series of buttons, and above them is a navigation bar. As I hover over a button, I want a second bar to slide out from behind this top bar, with the mouseover text on it. When the user stops hovering over a button, that bar slides back from where it came. This happens with each button, with a different word on the bar depending on which button they're hovering over. I can do all of this, except I want the bar to slide back to its starting point from where it is as the time.
To clarify, I can make the bars slide out, but what happens if someone stops hovering before the bar slides out fully? I want it to retract from the position it's at, at THAT TIME. I have no idea how to achieve this and I'm assuming it involves ActionScript but I'm really a complete novice when it comes to any kind of programming.
I found this very hard to explain lol. But any help or questions for clarification would be appreciated greatly. Thanks.
Playing Frames In Reverse.
Ave,
I'm trying to find a simple solution to this problem.
I have a Mask Layer and a couple of layers beneath it. Within a span of 600 frames, the animation is simple. Photos transition in and out of each other.
As it is a continous animation, all i want to do is that when the header reaches the last frame, it plays back in reverse. When it reaches back the first frame, i can always put "gotoAndPlay(2);" and thus forming a loop.
I "can" of course Copy all 600 frames, Paste them, do "Reverse Frames" and have a 1200 Frame animation. But i'm sure there is an ActionScript way to do this.
Any suggestions?
Thanks.
Reverse Playing Frames
Hi-
I have a small flash movie that i actually need to play backwards instead of from frame 1 - 240 - it needs to play from frame 240 to 1 and stop.
this code is working, except it keeps looping and i can't figure out how to stop it after it plays from 240 to 1 once.:
forward = true;
onEnterFrame = function () {
if (forward == true) {
nextFrame();
} else {
prevFrame();
}
if (_currentframe == _totalframes) {
stop();
forward = false;
}
if (_currentframe = 1) {
forward = false;
}
};
gotoAndPlay(240);
Thanks in advance. It's a bizarre problem but this will save me alot of time if i can get it doing this.
Shawna
Playing Frames In Reverse.
I have been trying to figure out how to play a series of frames in reverse. Originally I had a movie clip, that was unwieldy at best so I broke it into frames. I'm still learning, so watch there be some ridiculously easy function like "playinreverse" or the like. Here is the code I have thus-far. The italic text is the function I'm working with, but I included the rest... just in case.
As it stands now I can click the button (only Podcast is coded at the moment) and it will reverse exactly 1 frame. Once I do this 29 times it gets back to the first frame and plays like it is supposed too. I'M SO CLOSE! grr.
Am I missing somethings simple.
gotoAndPlay("Main");
stop();
function playmain (event:MouseEvent):void
{
gotoAndPlay("Main");
}
function playpodcast (event:MouseEvent):void
{
var i = currentFrame;
var j = Math[currentFrame - 29];
if (i != j)
{
prevFrame();
}
else
{
gotoAndPlay("Podcast");
}
}
function playportfolio (event:MouseEvent):void
{
gotoAndPlay("Portfolio");
}
function playresume (event:MouseEvent):void
{
gotoAndPlay("Resume");
}
function playcontact (event:MouseEvent):void
{
gotoAndPlay("Contact");
}
Main_btn.addEventListener(MouseEvent.CLICK, playmain);
Podcast_btn.addEventListener(MouseEvent.CLICK, playpodcast);
Portfolio_btn.addEventListener(MouseEvent.CLICK, playportfolio);
Resume_btn.addEventListener(MouseEvent.CLICK, playresume);
Contact_btn.addEventListener(MouseEvent.CLICK, playcontact);
Playing Frames In Reverse
Hi=
i need this flash piece to playin reverse.
So it needs to start on frme 240 and play backwards 10 one. (reverse frames won't work in this instance)
Tis code is working, but it keeps looping. Can't get things to stop when it gets to frame 1.
help!
Shawna
Code:
gotoAndPlay(240);
forward = true;
onEnterFrame = function () {
forward ? nextFrame() : prevFrame();
if (_currentframe == _totalframes) {
stop();
forward = false;
}
if (_currentframe == 1) {
forward = false;
}
};
Playing Frames In Reverse Order...
I would like to play a certain section of frames in my scene in reverse order after an "on release" action is initiated. Any comments would be appreciated.
Ben
Reverse Frames Script Playing SLOWLY.
I am currently using the script below in order to reverse the play direction of my timeline. But it makes both forward and reverse play REALLY SLOWLY (12fps). My movie is set to play at 30fps and there is nothing else on the timeline besides the one clip. Any thoughts on why that would be?
MovieClip.prototype.backUp = function(howManyFrames) {
this.createEmptyMovieClip('revController', 100);
this.revController.howMany = howManyFrames;
this.revController.onEnterFrame = function() {
if (this._parent._currentframe>1 and this.howMany>0) {
this._parent.gotoAndStop(this._parent._currentfram e-1);
this.howMany--;
} else {
this.removeMovieClip();
}
};
};
Playing Frames Forward And Reverse Triggered By Buttons
Hi, I'm wondering how to make a script that can play forward and reverse in an animation. AS an example, You roll onto a button, it plays an animation then when you roll off, it just play in reverse from the exact frame of the animation you're on. It equals perfect button animations every time.
Thanks in advance
Looping First 38 Frames 7 Times, Then Playing The Whole 76 Frames And Stopping
Hi Guys, I have a movieclip that the first half has one set of movements, but the second half changes. I want to be able to loop this movieclip (instance on the root), so that it plays the first 38 frames 7 times...i.e., loops 7 times, and the 8th time, it plays the whole clip, then stips...the movie is 76 frames long.
I know it's going to be...make i=1 first time...add 1 to i each time...and if i=7, then play past frame 38...and put a stop(); at the end of the movie, but i don't know how that code would look, if I could please ask for more...basic (ugh...) help...
In other words, how do I write this (pseudocode) in AS:
i=1
play frames 1-38
i=i+1
if i is less than 8, play frames 1-38
if i is more than 7, play the whole movieclip, all 76 frames
Shawn
Reverse Frames
hi guys,
i need to know how to write an actionscript like a telltarget that makes a movieclip play backwards.
to make it clearer.. i have this button with mc on up and over, i need the mc on up to play backwards.
thanx in advance
Reverse Frames
Hey..
This is probably a dumb question but it bugged me for a while so i figured i'd ask you guys.
Can anyone reverse frames right... cause I can't... when I reverse frames it messes them all up... Does it not work with tweens, should I un-tween everything then re tween them after I reverse them all... how do ya get it to work properly so it will do everything identical but back to front...
Or does someone got some action script that plays a mc on stage from the last frame to the first?
Ian
Reverse Frames
Hi,
how do i play a set of frames backwards using actionscript?
cheers,
Gareth
Reverse Frames
Hi,
I am a print designer who is slowly trying to make my way into Flash (I can hear you all laughing now).
My problem is that I have a very very elementary grasp of action scripting.
Here is my question:
Why isn't there some easy "reverse" action or something to make a movie just play backward when you want it to?
I mean, it seems simple enough (after all, there is a "play" action, why not a mere "reverse" action?), but I have been searching this site for a simple explanation or a source file that makes it clear to me, but everything I come up with looks like greek to me.
Sorry for the dumb question, but if anyone has any suggestions, or if I am missing the boat completely, just let me know.
Thanks!
solana
How Do I Reverse Through Frames?
Can someone tell me how I reverse through frames.
I can certanly have a loop that calls prevframe.
But, what I want is to know when I have reached a certain frame.
The only way I can think of how to do this is to know the exact number of frames, and then use a loop that loops the exact number of frames I need.
Any help would be appreciated.
Thanks.
OM
Help With Reverse Frames
I have been trying to get my button to play my frames in reverse. I did a search for "reverse frame" and I didn't find much info except for playing movie clips in reverse. There must be a way to do this without it being a movie clip
Code:
on (release) {
for (i=1; i<18; i++) {
this.gotoAndPlay(this._currentFrame-1);
}
}
Reverse Frames
I have created a very simple lime line effect using the "Explode" function. Now I want to run it in reverse so it appears the blocks are coming together. the reverse frame command is grayed out.
Reverse Frames
Is is possible to play frames in reverse? If so, how do I do it.
There is one image visually present, when you press the next button the image fades out and a new one fades in. The back button should play this in reverse. Is there an easier way to do this?
Joe
Reverse Frames..
hi there,and thanks for the tips that you're giving us flash 'gurus'..
well i have 3 movieclips (my_btn,my2_btn,my3_btn)which are thread like buttons with labels...up to here i don't have any broblems...
when the first button is pressed i have a text with a mask effect..so when i press the second button i want to play in reverse the text with the mask and go to the second movie which is another text with another effect and so on...!!
what should i do?
please give me an answer?
thanx
Reverse Frames - Ya Right
I created an animation in reverse order (it was easier to get all the elements aligned correctly). I figured I would then just select all the frames and reverse them.
It doesn't however work.
Flash adds an extra keyframe and although the tween 'arrow' is still present, it does not tween, but simply jumps.
Any ideas?
How Do I Reverse Through Frames?
Can someone tell me how I reverse through frames.
I can certanly have a loop that calls prevframe.
But, what I want is to know when I have reached a certain frame.
The only way I can think of how to do this is to know the exact number of frames, and then use a loop that loops the exact number of frames I need.
Any help would be appreciated.
Thanks.
OM
360 - Reverse Frames
Hi,
I am trying to make 360 spin of my 3d object, what I want to achieve is non stop continues spin both forward and reverse,
In my case, my 3D object plays continuously forward and it works good,
But my problem is when I try to play it continuously in reverse,
Currently my actions are in ActionScript 2 but I am ready to convert it to AS 3, I think its better,
These are my actions in AS2:
Code:
btn_right.onEnterFrame = function() {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.images.nextFrame();
} else {
_root.images.stop();
}
};
btn_left.onEnterFrame = function() {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.images.prevFrame();
} else {
_root.images.stop();
}
};
Please help me with this
Reverse Frames..
hi there,and thanks for the tips that you're giving us flash 'gurus'..
well i have 3 movieclips (my_btn,my2_btn,my3_btn)which are thread like buttons with labels...up to here i don't have any broblems...
when the first button is pressed i have a text with a mask effect..so when i press the second button i want to play in reverse the text with the mask and go to the second movie which is another text with another effect and so on...!!
what should i do?
please give me an answer?
thanx
Reverse Frames - Ya Right
I created an animation in reverse order (it was easier to get all the elements aligned correctly). I figured I would then just select all the frames and reverse them.
It doesn't however work.
Flash adds an extra keyframe and although the tween 'arrow' is still present, it does not tween, but simply jumps.
Any ideas?
Reverse Frames
I was wondering how to reverse the frames via AS and play normally then when push a button play but with reverse frames does someone knows
please
Reverse Frames
Alrite. I need help creating a button so that once you rollover it, it has a rollover effect, but once u rollout, the frames reverse and go back. Kinda' like on any Mike Kellog's Creation . once you click on that little guy, it plays, but if you click on anything else, its reversed. I hope everyone understands what I'm trying to say.
Playing In Reverse?
hello,
is it possible to play a clip from frame 0 to 10 and then on the click of a button get the clip to play in reverse from 10 to 0?
thanks for your help...
scott
Playing Reverse
How can i make a simple motion tween play in reverse
without having to animate it backwards.
Cheers
Br d
Playing In Reverse
I used the following piece of code from Iaskwhy
Assuming there are no stops along the way, use this catbert code.
On the clip itself, add:
onClipEvent (enterFrame) {
if (back) prevFrame();
}
On the play button, if you have one:
on(release){
_root.instanceName.back = false;
_root.instanceName.play();
}
On the rewind button:
on(release){
_root.instanceName.back = true;
}
Best used for a tween animation of a movie clip that opens and closes. This way, you only have to make half the tween.
It works fine BUT now i want it to stop at my stop actions along the time line.. how do i make it do this?
Playing In Reverse
Hi,
I am trying to make a text list that i made to scroll down and stop on select text and then possibly scroll back up to another piece of text. I think this would be easiest if i could play select frames backward. Is this possible?
Thanks,
Grtn316
Reverse Playing?
Hey...
Is there a way to have a flash movie switch up and play itself in reverse when it reaches the end?
Reverse Playing
Is there a way to have a movie play itself in reverse once it's finished playing thru normally?
Playing In Reverse
I know i've seen this topic before. I can't seem to find it though, I even looked through the tutorial sections. But how would I get a movie clip to play backwards on rollOut. I'm working with a button inside a movie clip that on rollover makes the movie clip play. What I need to add is on rollout, have the movieclip play backwards, starting on the frame its on. So if someone rolls on and then moves off at the 5th frame, instead of going to the tenth frame and playing backwards, it just plays backwards from the 5th frame.
(And by backwards I mean in reverse... sorry if I didnt do a good job in explaining.
Code:
on (rollOver) {
play();
}
on (rollOut) {
;
}
Any Help An Reverse Playing?
Hello everybody!
I am quite new to flash so any help on this would be much appreciated..
I am trying to create a movieclip where one can view a 360 panoramic image. To achieve this I created two transparent buttons on each side of the image. For the first one it’s easy to create, just a simple play function. The second one should reverse play. I found other threads on the subject, but have no idea of the use of this code. The problem is I don’t want the function to take place on a certain frame, but any time I roll over the button.
Here is what I found about it:
MovieClip.prototype.goBackwards = function(frames) {
this.onEnterFrame = function() {
this.gotoAndStop(this._currentframe - 1);
frames -= 1;
if (frames == 0) {
delete this.onEnterFrame;
}
}
}
or
MovieClip.prototype.goBackwards= function(frames){
this.startFrame = this._currentframe;
this.onEnterFrame = function(){
if (this._currentframe > (this.startFrame-frames) prevFrame();
else delete this.onEnterFrame;
}
}
and some others:
http://www.kirupa.com/forum/showthread.php?t=88789&
http://www.kirupa.com/forum/showthread.php?t=76387
Additionally, I want to insert some other images inside the panoramic image. Is there any way to make kind of a focus in/focus out on that image?
I attached the flash I am trying to create and I have already inserted an image there, which I turned into a button.
Any Help On Reverse Playing?
Hello everybody!
I am quite new to flash so any help on this would be much appreciated..
I am trying to create a movieclip where one can view a 360 panoramic image. To achieve this I created two transparent buttons on each side of the image. For the first one it’s easy to create, just a simple play function. The second one should reverse play. I found other threads on the subject, but have no idea of the use of this code. The problem is I don’t want the function to take place on a certain frame, but any time I roll over the button.
Here is what I found about it:
MovieClip.prototype.goBackwards = function(frames) {
this.onEnterFrame = function() {
this.gotoAndStop(this._currentframe - 1);
frames -= 1;
if (frames == 0) {
delete this.onEnterFrame;
}
}
}
or
MovieClip.prototype.goBackwards= function(frames){
this.startFrame = this._currentframe;
this.onEnterFrame = function(){
if (this._currentframe > (this.startFrame-frames) prevFrame();
else delete this.onEnterFrame;
}
}
and some others:
http://www.kirupa.com/forum/showthread.php?t=88789&
http://www.kirupa.com/forum/showthread.php?t=76387
Additionally, I want to insert some other images inside the panoramic image. Is there any way to make kind of a focus in/focus out on that image?
I attached the flash I am trying to create and I have already inserted an image there, which I turned into a button.
Playing In Reverse...
Hello,
so if you have a button that says play(); it advances the movie forward. is there a way to have another button play in reverse until it encounters a stop(); ?
Playing A MC In Reverse
I've been updating an AS2 script for running the timeline playhead in reverse. I have the AS3 on the root timeline with a single MC housing both buttons and the timeline I'm manipulating. Going forward is fine, it even stops at frames 1, 18 and 35 where I have stop actions. Only problem is when I try to reverse the timeline things get buggy, it just snaps to frame 17 or 18 and nothing works any more. I could use another pair of eyes to look at this for me, any help would be great.
ActionScript Code:
function ply (e:Event):void{
addEventListener(Event.ENTER_FRAME, function(){
//reverses the time line by 1 frame continually until the desired frame is reached
if(rmv.currentFrame >1){
rmv.gotoAndStop(rmv.currentFrame - 1);
}else{
rmv.gotoAndStop(1);//desired frame number
removeEventListener(Event.ENTER_FRAME, ply);
}
}
)}
function ply2 (e:Event):void{
addEventListener(Event.ENTER_FRAME, function(){
//reverses the time line by 1 frame continually until the desired frame is reached
if(rmv.currentFrame >18){
rmv.gotoAndStop(rmv.currentFrame - 1);
}else{
rmv.gotoAndStop(18);//desired frame number
removeEventListener(Event.ENTER_FRAME, ply2);
}
}
)}
function plycar (e:MouseEvent):void
{
if(rmv.currentFrame ==1){
//rmv plays and stops at frame 18
rmv.gotoAndPlay(2);
}
if(rmv.currentFrame ==18){
//rmv plays and stops at frame 35
rmv.gotoAndPlay(19);
}
if(rmv.currentFrame ==35){
//rmv plays and loops back, stopping on frame 1
rmv.gotoAndPlay(36);
}
}
function btn_fwd (e:MouseEvent):void{
rmv.addEventListener(MouseEvent.CLICK, plycar);
}
function btn_bck (e:MouseEvent):void{
if(rmv.currentFrame > 17){
rmv.addEventListener(Event.ENTER_FRAME,ply);
}
if(rmv.currentFrame > 34){
rmv.addEventListener(Event.ENTER_FRAME,ply2);
}
}
//button listeners
rmv.fwd.addEventListener(MouseEvent.CLICK, btn_fwd);
rmv.bck.addEventListener(MouseEvent.CLICK, btn_bck);
Playing FLV In Reverse
Seems that you can't play an flv in reverse? I've searched a lot but couldn't find a solid answer or any hints to overcome this. Is this simply impossible (without embedding and reversing the timeline) or is there a solution out there?
Any Help On Reverse Playing?
Hello everybody!
I am quite new to flash so any help on this would be much appreciated..
I am trying to create a movieclip where one can view a 360 panoramic image. To achieve this I created two transparent buttons on each side of the image. For the first one it’s easy to create, just a simple play function. The second one should reverse play. I found other threads on the subject, but have no idea of the use of this code. The problem is I don’t want the function to take place on a certain frame, but any time I roll over the button.
Here is what I found about it:
MovieClip.prototype.goBackwards = function(frames) {
this.onEnterFrame = function() {
this.gotoAndStop(this._currentframe - 1);
frames -= 1;
if (frames == 0) {
delete this.onEnterFrame;
}
}
}
or
MovieClip.prototype.goBackwards= function(frames){
this.startFrame = this._currentframe;
this.onEnterFrame = function(){
if (this._currentframe > (this.startFrame-frames) prevFrame();
else delete this.onEnterFrame;
}
}
and some others:
http://www.kirupa.com/forum/showthread.php?t=88789&
http://www.kirupa.com/forum/showthread.php?t=76387
Additionally, I want to insert some other images inside the panoramic image. Is there any way to make kind of a focus in/focus out on that image?
I attached the flash I am trying to create and I have already inserted an image there, which I turned into a button.
Playing A Flv In Reverse
so here is what i am trying to to accomplish. i want to playa flv forward in a normal timeline and then play it in reverse. when i try to do it by breaking it apart and then reversing the frames it comes upp choppy. does anyone have a action script that would call the flv up and then play it forward once wait 5 sec and then play it backward. any thoughts would be great. thank you all in advance. if this needs to be in a different forum could you please move it.
Playing In Reverse - Nearly There
Hi all,
Its been a while since I last posted but I was hoping someone would be able to help me asap. I am so nearly there but something is not quite right. I have alot of faith in this forum so I'm hoping someone out there can help! Here we go:
I have various movie clips within movie clips, these all work fine. Within one of the MC's, i have a button with instance name "left" and one called "right". These are used to cycle through my work (this is for my portfolio). The right button works fine, just plays the timeline of the MC using frame labels. I built my site last year but its going through a complete overhaul on the structure and coding side cos quite simply, its a mess
Last year, i placed this code ON the "left" button itself:
Code:
on (release) {
firstFrame = this._currentframe;
origFrame = this._currentframe;
reversespeed = 1;
newFrame = origFrame -18;
this.onEnterFrame = function() {
if(firstFrame == newFrame){
this.onEnterFrame = null;
stop();
}else{
this.gotoAndStop(firstFrame);
firstFrame = firstFrame - reversespeed;
}
}
}
This worked fine, i would change the number (18 in this case) as necessary and it was perfect. Now, this time round, I am using instanceName.onRelease = function() and so on in an actions layer, however this doesnt work:
Code:
left.onRelease = function() {
firstFrame = this._currentframe;
origFrame = this._currentframe;
reversespeed = 1;
newFrame = origFrame -18;
this.onEnterFrame = function() {
if(firstFrame == newFrame){
this.onEnterFrame = null;
stop();
}else{
this.gotoAndStop(firstFrame);
firstFrame = firstFrame - reversespeed;
}
}
}
I dont know what i could be doing wrong. The code works on my latest version of my site when I place it on the button itself but not when its on a frame in the actions layer. To be honest I dont really understand the cde very well but I understand it enough to make it work when placed on a button but I know this isnt a very good way of coding.
If someone could please modify that code so that it would work when placed in an actions layer I would really appreciate it. Or at least explain what I'm doing wrong because I thought it would be as simple as just replacing on (release) with instance.onRelease = function()
Thanks in advance for your help and advice
Theo
Any Help On Reverse Playing?
Hello everybody!
I am quite new to flash so any help on this would be much appreciated..
I am trying to create a movieclip where one can view a 360 panoramic image. To achieve this I created two transparent buttons on each side of the image. For the first one it’s easy to create, just a simple play function. The second one should reverse play. I found other threads on the subject, but have no idea of the use of this code. The problem is I don’t want the function to take place on a certain frame, but any time I roll over the button.
Here is what I found about it:
MovieClip.prototype.goBackwards = function(frames) {
this.onEnterFrame = function() {
this.gotoAndStop(this._currentframe - 1);
frames -= 1;
if (frames == 0) {
delete this.onEnterFrame;
}
}
}
or
MovieClip.prototype.goBackwards= function(frames){
this.startFrame = this._currentframe;
this.onEnterFrame = function(){
if (this._currentframe > (this.startFrame-frames) prevFrame();
else delete this.onEnterFrame;
}
}
and some others:
http://www.kirupa.com/forum/showthread.php?t=88789&
http://www.kirupa.com/forum/showthread.php?t=76387
Additionally, I want to insert some other images inside the panoramic image. Is there any way to make kind of a focus in/focus out on that image?
I attached the flash I am trying to create and I have already inserted an image there, which I turned into a button.
Bug? Playing In Reverse
Hi,
I've got a FlV file in my movie clip which plays just fine, but when I play it in reverse (via actionscript.. see below) it runs really choppy! Is this a flash bug, or am I doing something wrong?
Here is the code:
function vidRewind() {
this.onEnterFrame = function(){
if (this._currentframe > 1) {
this.gotoAndStop(this._currentframe-1);
} else {
this.onEnterFrame = null;
}
}
}
I really need to figure this out seeing that my project is due soon!!
How Do I Reverse Frames Without Trouble?
Can anyone tell me how I reverse frames in Flash
so that the reversed sequence ends exactly where
the unreversed sequence starts?
Everytime I try, the reversed sequence plays almost
to the end and then jumps abruptly to the last key frame.
Can I Make Frames Run In Reverse?
I am creating an interactive image gallery to show off some industrial design projects. I have a concept that I really like and have been fairly successful in creating a working prototype of the but I've come to one horrifying realization: I have no way of making the images load backwards when navigating back!
Is there any way to get the frames to run "backwards" (or at least look like they are?) Everything loads nice and smoothly from right to left when going forward, but i'd like to run smoothly backwards when navigating back.
You can find my flash file here:
http://www.o-ron.com/senior_gallery_gamma.fla
THANK YOU!!!
-Olen Ronning
olen@o-ron.com
industrial design student
Reverse Frames Issue
Can someone help. I am trying to get my button to play my frames backwards. All that my code does is jump back to the first frame.
Code:
on (release) {
for (i=1; i<18; i++) {
this.gotoAndStop(this._currentFrame-1);
}
}
Play Frames In Reverse?
Say if you start at frame 1 and it's stopped on that frame, then press a button that then plays along the timeline and stops at frame 10. But then on frame 10 a button that goes back to frame 1 so the frame order goes 10-9-8-7-6-5-4-3-2-1??
How To Auto Reverse Key Frames
HI,
I am sure this would have been asked before. I searched without any success.
Does anyone know how to auto reverse say keyframes 1-10 ?
What I want is to play 1 -10 (tween) then from the 10th frame I want to reverse play the tween in a loop.
I only have two layers . Basicly object on the left goes right and object on the right comes to left . Simple animation bit like flip flop but I want it in reverse in order to have the smooth transsion.
Thanks in advance.
|