ActionScript 2.0 :: Play An Animation Backwards?
Jan 20, 2005Is it possible to play the playhead backwards, if i want to play an animation backwards?
View 2 RepliesIs it possible to play the playhead backwards, if i want to play an animation backwards?
View 2 RepliesTrying to get an animation to play backwards while a button is held down, which works fine, however when it gets to the first frame it just stops and won't loop back around to the last frame of the animation- how might one accomplish this? It seems like I need to break the event for a frame somehow and then start listening again...
backward_btn.addEventListener(MouseEvent.MOUSE_DOWN, setDownTrue);
backward_btn.addEventListener(MouseEvent.MOUSE_UP, setDownFalse);
addEventListener(Event.ENTER_FRAME, checkDown);
var isDown:Boolean = false;
[Code]...
I`m trying to use this code to make my animation go backwards. The problem is that I need to stop it before reach the beggining of the timeline. The Stop code doesn`t work backwards.
this.onEnterFrame = function(){
prevFrame();
}
I am looking to explode an image backwards. Example, I have an image and at frame 1, Alpha is zero. At frame 20, the image is at Alpha 100%. From frame zero to 20, I want to have an exploded view come together by the time it reaches frame 20. I am reading this on web, and I don't have the 'Insert - timeline effects - explode' on my file menu. Is this a plugin that I have to install? This is the site I am reading. [URL]
View 4 RepliesProblem: I have an flv I would like to play backwards.
Attempt: I have used the code below to play an MC backwards as well as forwards with success in the past. Now I have an flv which I must play backwards and I thought embedding it entirely in an MC would be fine. The code works, but when ti performs the backwards portion, well, it runs very slowly.
Question: Is there a way to play the embedded flv backwards at full speed using the method I tried or do I have to load the flv into the swf at runtime?
if I have to load the flv into the swf at runtime to play it backwards
var rewindMe:Boolean=false;
vid_mc.addEventListener(Event.ENTER_FRAME, everyFrame);
function everyFrame(event:Event):void {
if (rewindMe==true) {
[Code].....
I've made this as a "prototype", getting used to how the game will move and such, and I've got it moving as I want it, but I can't make it move backwards when I press the back button The whole thing is inside a movie clip, I just want it to play backwards when I press the back button
View 4 RepliesI need to play a .mov file backwards in my Flex app.
View 2 RepliesI have a video by frames in the timeline on the stage, and i want it to play backwards when i press the button.
i found this code on this forum and it works really good, but i need it to stop on certain frames (127, 177) how do i do that?[code]...
I need an animation to begin playing when another button is rolled over, if the button is still rolled over, the animation will finish it's loop. If it the button is rolled out, the animation is played backwards.
View 7 RepliesShort description what I wan'a do: 30 frame long movie clip (my_mc) and a button (button_btn). When button rollOvers the clip should play (how to do that I know ) and when on button RollOut the clip should play backwards from the same frame where it stopped.
View 1 RepliesI have a mask in a movieclip and I want it to play backwards when I push the buttons. I want the organic stuff to mask backwards. [URL]
View 5 RepliesI created a MC that will play when you rollover a button and play again on rollout. Here comes the problem. If you rollout this MC before the animation comes to stop, it will stop at the stop point and won't continue playing until you rollover again which then looks (and actually is) as a bug.
View 3 RepliesIn my project i have a mc called theArrow, which contains 85 frames of animation, and a roll-over region called mouseRegion.
When the mouse rolls over the region i want theArrow mc to play backwards from the point it is at, and when the mouse leaves the region i want it to resume playing forward again.
here is my script:
Code:
theArrow.addEventListener(event.ENTER_FRAME, playBck);
function playBck(event:Event):void {
this.theArrow.prevFrame();
[Code].....
I'm trying to play a movie clip backwards on rollout, but can't get it to work.
I have a main movie clip, which contains a button and a movie clip. Since the area of main movie clip is larger than the button hit area, I'm trying to create the reverse effect from the button.
[AS]on (rollOver) {
forside_movie.gotoAndPlay (1); // play movie forward
}
[Code].....
is there any way to play a movie backwards? it may sound wierd, but i really want to do it. any actionscript actions that can do this?
View 9 RepliesI made text jumping say the word "jackflash" each letter is bounced. from a alpha.Instead of me remaking the whole thing over doing same in reverse is their a action I can add at end of movie to play it backwards?frame begines at 1 too 25.I want it from 25 back wards to 1 is it possable? 25 24 23 22 so on.
View 2 RepliesI need an animation to begin playing when another button is rolled over, if the button is still rolled over, the animation will finish it's loop. If it the button is rolled out, the animation is played backwards.
View 6 RepliesI'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?
View 7 RepliesIs it best to try to play a movieclip backwards or maybe use some other technique like reversing the frames and creating a new sequence and the play that one?
or is there an easy way to play the frames backwards?
i am trying to play the timeline backwards once it reaches the end, but i cannot fine anything out on the net to explain how to do this without a button click.
View 1 Repliesi have 4 main sections of my site and i would like it if the user is deep into section 2 and wants to click a button to go to section 3, section 2 actually reverses every tween/action it has ( breaking down ) then goes to section 3. i would prefer this rather than an abrupt shutdown section 2 and section 3 starts.
[URL]
to play a movie clip backwards in AS? If yes.. how? ty
View 4 RepliesShort description what I want to do: 30 frame long movie clip (my_mc) and a button (button_btn). When button rollOvers the clip should play (how to do that I know ) and when on button RollOut the clip should play backwards from the same frame where it stopped.
View 1 RepliesI want to create a movie clip to play forward when the mouse hovers over it but backwords when the mouse rolls off. This sounds easy enough but I having a few problems getting it to work.
I do not want to clip to jump to a position before changing direction.
I am having problems getting the clip to go backwards on the rolloff if the foward movement has not been completed.
I thought that I could just use script to send the clip forward by one frame on roll over (frame = frame+1), and opposite on roll off but it does not appear to work - i think it may be much more complicated than this.
I need to play forwards/backwards to target frame(or second) on my videoPlayer when I push a button. How would I do this?
Not sure how to tween the seek() property. I have TweenLite, which normally works great! But just not sure how to do it here..
I've made the outline of a site in AS3, on one of the pages it has an area that shows some text and images. If you click on the right arrow, the current info flys off to the left and the new info comes on from the right. This is done by just having a movie clip with a load of stops and code that says "absorbentInfo.play();" so it plays forward to the next bit of info.What I would like is a way to make it play backwards to the previous stop, so that it could cycle indefinitely either way.Code for the next button below.with the previous button.
Code: Select allnextButtonAbsorbent.addEventListener(MouseEvent.ROLL_OVER, nextButtonAbsorbentOver);
nextButtonAbsorbent.addEventListener(MouseEvent.ROLL_OUT, nextButtonAbsorbentOut);
[code].....
I am trying to tell flash from within a movieclip to start playing a specific frame within the main timeline only after it has finished playing the movieclip backwards. I can get the movieclip to play backwards fine but it's getting the main timeline to start from frame 1 which doesn't work. I have the following code on the first frame of the movieclip (which is called video) but it doesn't seem to do anything.[code]
View 1 RepliesI have a certain set of motion twains that I've successfuly completed, they constantly loop right now (default), and is saved in the SWF file.I'd like to take that finished looping animation, and insert it within another animation (a) that can be played with a play button, and stopped/resetted with a stop button.How do I insert the completed looping animation into the main animation? And is there something special I have to do in the actionscript of the start and stop buttons so that the "inner" looping animation will start and stop with the "outer" main animation?
View 1 RepliesI am creating an animation for mouseover. The problem is that when you put the mouse on the edges of the activated animation it "stumbles", trying to decide whether to play next clip forward or next clip backwards.
I got this code from taco:
onClipEvent (enterFrame) {
// if the mouse IS over the clip ...
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
[Code]....
But it doesnt solve the problem that I am describing with the "stumbling".
i have a over and out animation but i only want to play the out animation when the over animation has completely finished and the same with out animation. i have this code
[Code]...