Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Reverse Movie



I there an easy way to make a movie swf play backwards with action script when a user clicks a button?



Adobe > ActionScript 1 and 2
Posted on: 06/02/2007 11:07:22 AM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Buttons That Play A Movie In Reverse And Loads A Movie
Let's say i have a movie that plays, scene and the buttons are placed on the movie and and the movie stops, okay now my problem is that, I would like to know if its possible, and how to do this:

Once my movie and buttons are loaded on the scene, i want to know if there is a way, that i can make it so that, once i click on one of my buttons, the movie goes to a certain frame on the movie so it looks like its playing backward to a blank screen, and after its to a blank screen i want it to load the appropriate movie for the button i clicked.....

I tried to this a while ago, and it did not work, since i have 12 buttons that are linked to open and play 12 different movies...

any kind of help would be greatly appreciated......

thanks

Play A Movie In Reverse Than Load A New Movie In It's Place
I have an index.fla that is opening an external nav.fla.

From the nav.fla I call back to the index.fla --> on(release) play the _root backwards.

THAT WORKS GREAT!

::inside my nav.fla::
**************************************
this.home_mc.onRollOver = function () {
home_mc.gotoAndPlay(2);
}
this.home_mc.onRelease = function():Void{
_root.onEnterFrame = playBackwards;
}
function playBackwards():Void{
this.gotoAndStop(this._currentframe - 1);
}
**************************************

HOWEVER, what I'd like to do after it unloads (plays reverse to frame 1) is load another movie in it's place (the movie corresponding to the button you just pressed)

i've tried this:

:inside my nav.fla::
**************************************
this.home_mc.onRollOver = function () {
home_mc.gotoAndPlay(2);
}
this.home_mc.onRelease = function():Void{
_root.onEnterFrame = playBackwards;
loadMovieNum("about.swf", 0);
}
function playBackwards():Void{
this.gotoAndStop(this._currentframe - 1);
}
**************************************

however it stops the reverse and just loads the new movie (about.swf).

Any Ideas? Thanks in advance!

here are the index , about and nav fla's.

How Do You Play Your Movie In Reverse The Load Another Movie
HELP PLEASE!!!

can anyone tell me how they make this reverse play animation...

the one that www.liquideye-designs.com did on their previous site design....

help please!!!

Movie In Button: How To Play Movie In Reverse...
I have a MC inside a button and I put in in the "Over" state. Can someone help me how to make the MC play in reverse on mouseOut? Or is there a better or easier way of doing this? Tnx!

Reverse Movie
can I use action script to reverse a movie.
I'm working on a rotating UI and want to use buttons to control the direction of the rotation. Any suggestion on how to achieve this would be very welcome. I can send a file with the movies in it.

I've seen action scripts that make things rotate in place. But I need icons to rotate around a center and stay still (not around around their own center as well)
[Edited by sandbender on 07-11-2001 at 06:25 PM]

Help With Reverse Movie
Hi folks,

I've a VERY simple animation set up in flash. In short it's a movie that plays one way when the pointer is over it, when it's not, it rewinds to the beginning.

It works fine, except that it only works in Flash, and not on the webpage because the xmouse and ymouse paramters are not met if the user moves their pointer of the flash control.

Has anyone got any ideas on how to change this. I've attached the file for reference.

I've read an article on here about having to create lord knows how many different movies to do this, but I would have thought Flash MX would have some kind of "WHILE" command so in pseudo terms it could read...

WHILE this.mouseOver=true THEN
frame=frame+1
ELSE
frame=frame-1
WEND

Help would be really appreciated.

Cheers

Reverse Movie
I there an easy way to make a movie swf play backwards with action script when a user clicks a button?

Reverse Movie
I 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.

Regards Barrie.

Reverse Movie
I 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.

Regards Barrie.

Sending A Movie Into Reverse? Anyone?
Been trying to send a movie clip into reverse without relying on that clumsy old prevFrame() thing. I´ve seen one done by mr Alesy (c/o. ultrashock) but that takes the percentage of the clip and stops at frame 1, while I want to make it loop forever.
Any ideas???
Thanks

How Do I Get A Movie To Play In Reverse?
I was wondering how do you get a movie to play in reverse?
If I have an invisible button on say frame 25 and when you mouse off of that button I want the movie to play backwards to frame 17?

Any help would be greatly appreciated. BTW this is Flash 5.

Thanks!

Playing A Movie In Reverse?
I want my movie to play in reverse for exactly 5 frames every time someone clicks on a button. How would I do this? thanks.

Playing A Movie In Reverse
I am trying to create a button whos rollover state is a movie, but when you roll out, i want the movie to reverse from whatever point it was last on. Is this possible?

Movie Clip In Reverse
I am trying to play a movie clip in reverse. Any help is appreciated.

Jnkyrd

Reverse Movie Clip
Hi Iam khader and I hope to help me to solve my problem which make be sad I ried to di it but i don't know why didn't be correct ,really Iam trying to reverse Movie clip using Action Script with out using (Reverse Frame)
If there possible to help me plz tell
thanx

Reverse A Movie.. Quickly?
Without copying and pasting every individual frame, is there a way to reverse a movice clip? so it plays frames 1-50, then i can paste 50-1 .. if u see what i mean

Reverse Movie Clip?
let me see if i can explain this
on my stage i have 2 buttons and a movie clip
in my movie clip i have a line of logo designs so that when i rollover button 1 my logos scroll left until they have cleared off the stage
how can i make button 2 make the movie clip scroll right so to view my logos again

this is the script on button 1.
on (rollOver) {
hit = 1;
}
on (rollOut) {
hit = 0;
}

and this is the script on my movie clip.
onClipEvent (enterFrame) {
if (_root.hit == 1) {
this._x +=- 8;
}
}

please help! thanks

How To Play On Reverse A Movie?
Hi all..again...well, thanks for your colaboration, now I have another problem. I have a button, when the mouse is over it play a animation, but when I rollout the mouse, I need the animation made before go on reverse (sorry for my english )
Thanks again

Reverse Movie At Keyframe
Hello,
I have create a flashmovie. Now what I'm trying to do is to replay the movie backwards at keyframe 10. So the movie plays and start at keyframe 1,2,3,4,5,6,7,8,9,10 at number 10 I want somekind of action that the movie is playing frame 10,9,8,7,6,5,4,3,2,1.

Is that possible?

Thanks,
Samiech

Movie Clip Reverse
Okay, I have searched for other post related to rewind and reverse, but this is different, let me explain.

What Im doing is a website with menu, and buttons and i want to rollover the button and an animation from a different movie clip starts, but when i rollout i want the animation to rewind from the frame i rolled out.

i what i did so far is rollover and play and rollout rewind but it goes back to playing again, i want to make it stop at the first frame after the rewind, but i did this all in one mc, what Im looking for is to use different mc for each animation. heres the file. Appreciated.

Reverse Movie Clip
I have a movie clip of a square moving across the sstage. the movie clip has an instance name of square. I have 2 buttons (a forward arrow and a backward arrow). Here is the script I have on the forward arrow.

on (release) {
_root.square.gotoAndPlay(2)
}

Now what script would I put on the backward arrow to reverse the playhead on the movieclip (square)?

Thanks for the help.

creeg

Reverse Play A Movie
i need a button that makes the movie to play from its end to ita beginning, can anyone help, please?
thanks

Reverse Button Movie
I have a button with a movie clip in the over state. The movie clip looks like a camera panning up over an image of a person. so when you mouse over, you start at the bottom of his necktie and move upward toward his face. When you mouse off, I want the exact opposite to happen. If you are just at the bottom of his neck, I want you to pan down from the bottom of his neck to the beginning of the over state movie. So it's basically reversing however much of the 'over' movie has played at the point where you mouse off. I'm not that advanced as far as actionscript goes...is there a (fairly) simple way to do this?

Unload Movie In Reverse
I want to have my clips and swfs unload in reverse when another button is pressed. I am loading into levels right now and it just dissapears and the new swf or clip loads. Any help would be greatly appreciated.
thanks

JB

Reverse Movie Clip
I am a beginner in flash right now and have one quick question. I have just made a movie clip of a 2D character walking to the right. Now I would like to take this character and make him walk to the left (saving this as a separate movie clip). Instead of starting all over and having to go through all the key frames I was wondering if there is a faster way of reversing him. In other words I'd like him to flip over (i know there is a way to flip him easily) and then walk the other way. Almost as if I reversed the entire movie clip except instead of walking backwards he was walking frontwards to the left.

Edit: Also if anybody knows any sites that have help for beginners. Like a tutorial that brings you through the program slowly.





























Edited: 11/30/2007 at 05:16:48 AM by mpberlam

Reverse Button Movie
I have a button with a movie clip in the over state. The movie clip looks like a camera panning up over an image of a person. so when you mouse over, you start at the bottom of his necktie and move upward toward his face. When you mouse off, I want the exact opposite to happen. If you are just at the bottom of his neck, I want you to pan down from the bottom of his neck to the beginning of the over state movie. So it's basically reversing however much of the 'over' movie has played at the point where you mouse off. I'm not that advanced as far as actionscript goes...is there a (fairly) simple way to do this?

Movie Clip In Reverse
Does any know how to play a movie clip in reverse. I have tried the copy frames and reversing them but that does not want to work for my animation. I am just looking for a simple script that when someone mouses over the invisiible button the playhead moves forward and when they mouse off the playheads moves backward from the frame its on. I have posted the fla here if anyone could help.

Thanks

Jeff

Reverse A Movie Clip Using AS
have had a crack at this problem and am curious how I can reverse a MovieClip instead of using more frames.

this is what I thought would work but it only goes to the previous frame (as stated in the code), not throught the whole lot.

please feel free to comment.


on (release) {
bckgrnd.cover.prevFrame();
}

Reverse A Movie Clip Help
Hi all

My first post ever...

I have started on a new website. Using one of Kirupa's great tut's I have created abutton with a 'complex' rollover/rollout effect.

However, if you look here:

http://www.fishgraphics.co.uk/cool4/

And then click on the blank button at the top of the left-hand navigation panel, you will see a 3D movie load in. I want to be able to 'rewind' that movie using one of the other buttons on the left, so that the movie just playes backwards and disappears back into the wall.

What code do I need to place into my new button to make the 'Window Movie' play backwards?

Thanks for your help!

Movie Clip In Reverse
Does any know how to play a movie clip in reverse. I have tried the copy frames and reversing them but that does not want to work for my animation. I am just looking for a simple script that when someone mouses over the invisiible button the playhead moves forward and when they mouse off the playheads moves backward from the frame its on. I have posted the fla here if anyone could help.

Thanks

Jeff

Reverse Movie Clip.
i am trying to move a symbol back and front with buttons.
the animation is about 100 frame and i want to stop the animation at every 10th frame.

THANKS

Getting A Movie To Play In Reverse...
I have a movie which acts as a scrolling menu. Graphic buttons are supposed to slide up and down when the respective "menu control" buttons are clicked, ie. click next, the movie advances to the next graphic button, click previous the movie goes to the last graphic button.

Getting the movie to advance to the next graphic button and stop is easy enough, but I need to learn how to make it play backwards to the last graphic button and stop when you hit the previous "menu control" button.

I have looked through many different articles, howtos, and searched through Google Groups (which is how I found this site), and looked through these forums, but I haven't found anything that really helps to do what I need...

A gotoAndRewind option would be wonderful, but of course there isn't one and that would just be too easy... :lol:

Thank you!

Play Movie In Reverse
Today is my first day learning Action Scripting... it seems a lot like php in ways... but besides that, here is my problem...

i have two buttons, one on the left and one on the right, i then have a rectangle that moves from left to right when i roll over the button... problem is, i want the button on the right to play movie normally (as it is right now), and the one on the left to reverse the motion.


my action scripting is...


Code:

on (rollOver) {
play();
}
on (rollOut) {
stop();
}




thanks.

How To Reverse And Fastforward Flash Movie
Is it possible to reverse and fastforward flash movie, i have a movie which has 800 frames, when the movie is plaiyng i want to go back 50 frames and view the movie again, can we write any action script for it to go back like reverse and also fastforward, i know that there is a rewind command which goes to the start of the movie, can we control that with a slider bar as how many frames we want the movie to go back and forward, any response will be a big HELP.

Thanks to everyone.

Playing The Movie In Reverse When Needed
hi

there are two buttons, forward and back.

when forward is clicked the movie simply plays to the next marker.

when back is clicked i want the movie to play in reverse to the previous marker.

your help is appreciated.

thanks.

Playing A Movie Clip In Reverse
Hello, I was wondering is someone could point me to a tutorial for playing a movie clip in reverse when triggered by a button.

I did find one tut on this subject on the site but it uses the Tell Target and I was wondering what the new method would be for doing so.

I have two buttons, when you roll over one it plays the movie.

When you roll over two I want it to play in reverse

Also, if I have a sound loop in the movie clip that is set to stream, will it also play in reverse??

Can you help?

Thanks Much!
Rick

Movie Clip In Reverse After OnRollOut
I'm a little new to actionscripting, and I need a little help. I'm using Flash MX, also.

I have a button which I created to play a movie when hovering over it (the button item appears to move out toward the viewer). What I want to do is to have the movie reverse (named "x") once the mouse is moved off of the button (the button item lowers to it's original position).

It seems like I would have to use a script such as:

on (release) {
this.onRollOut = function() {
gotoAndPlay(x);
};
}

where x is the movie in reverse. At the moment, I'm attaching the aforementioned script to the button containing the movie (movie is contained in the "over" state), but I'm not sure where to put x. I don't think x belongs in the button layer (with the button states), and I don't know where else to put it. I've tried putting it in the second frame of the layer containing the button, but it doesn't seem to work. Is there another way to do this? Any ideas, anyone?

TIA,
aaroneousmonk

How To Play Reverse Movie Clip
Can somebody tell me how can my movie clip play Reverse?

Can I Play A Loaded Movie In Reverse?
ok, here is the situation

im building a flash page that incoperates php and flash, the php passes what page was last and what the next page is so that the appropreate flash can be loaded. what i want to do is cut down on the number of swf's that i have to create and this could be done if i can call them to play backwards. i have seen tutorials on how this is done however i can't seem to get it to work with a loaded swf into a movieclip. is there a way that this can be done or should i just go ahead and make 2 times as many fla's to load.

?

Reverse Animation Before Loading Movie
Hello,

I searched for an answer but I couldn't find it.
So I hope one of the flash-gurus can help me.

My main movie has container mc
(instance: container) on the main page where I load all my external movies in.

I also have a mc with all my buttons in (instance: menu)

I reference the buttons from the main timeline.

here is the code:


Code:

menu.about.onRelease = function() {
if (_root.container != "about") {
_root.container.loadMovie("about.swf");

}
};
menu.services.onRelease = function() {
if (_root.container != "services") {
_root.container.loadMovie("services.swf");
}
};

menu.projects.onRelease = function() {
if (_root.container != "projects") {
_root.container.loadMovie("projects.swf");
}
};

menu.contact.onRelease = function() {
if (_root.container != "contact") {
_root.container.loadMovie("contact.swf");
}
};



What I would like to do is load the movie into "container" and if I click another category reverse the animation of the current movie and load a different movie into "container"

Thank you for your help.

Playing A QT Movie In Reverse, Looping
Hi guys

Hope you can help. Its a bit of an easy one, just I dont know!

I have a quicktime movie that ive pulled in as a movie clip. I have it playing through once, then it returns to frame 1 and loops.

I want the movie to play in reverse once it gets to the last frame, and then play forwards again once it returns to frame 1.

Thanks in advance.

Reverse Movie Leaving The Button
When I roll over a button I have a movie clip play (text slowly appears) but when I move the mouse the text disappears instantly. Is there a way to play that movie clip in reverse when my mouse leaves the button?

Stopping A Movie When Playing In Reverse
Hi All,
I have a movie with a number of stop points. When you click the next button it plays an animation foward, then when you hit the back button it plays backward with the following script on the button:

on (release) {
reverse(_root);
}

this following code is in the first frame of the timeline:

function reverse(timeline) {
timeline.onEnterFrame = function() {
if (timeline._currentframe>1) {
timeline.prevFrame();
} else {
delete timeline.onEnterFrame;
}
};
}

It plays backwards ok but I am wanting it to stop where the stop actions are on the timeline.
Any ideas? would be much appreciated.

Thanks

Make Movie Play In Reverse
Today is my first day learning Action Scripting... it seems a lot like php in ways... but besides that, here is my problem...

i have two buttons, one on the left and one on the right, i then have a rectangle that moves from left to right when i roll over the button... problem is, i want the button on the right to play movie normally (as it is right now), and the one on the left to reverse the motion.

thanks.

Play A Movie Clip In Reverse
I have several button created and several movie clips that go along with the buttons. What I am trying to do is have each button play a particular movie clip on mouse over and then play that same movie clip in reverse on mouse out.

any thoughts?

How To Do The Reverse Of Creating A Movie Clip
Instead of making a movie clip and working inside that, I need to know how to do the reverse, basically take all the content, layers, tweens everything and put that entire thing into a movie clip.

I have this animation and I don't want to have to open another document and create a movie clip symbol and then basically re-create the entire animation again within that mc. Is there a better way?

Thanks!!

Play A Movie Clip In Reverse
Little help?
I'm trying to do a little virtual reality thing here. I took several photos of a golf club, circling the club 360 degrees. Now I want to place these photos in a timeline and have the user be able to control which way the movie runs. When they mouse to the left...the movie plays backwards. When they mouse to the right...the movie plays forward.

Any thoughts?

Reverse Movie Clip Actionscript
For the sake of an easy example.
I got a movie clip of a circle that in 10 frames motion tweens and grows twice the size.
I also have a sqare that when rolled over starts that circle movie.
I need the actionscript that will tell the circle movie to play (on rollover) and when rolled off reverses it back to original size.
Any Help much appreciated! Thanks

Reverse Movie Clips On Rollout
I am trying to accomplish the same rollover/rollout effect with the movie clips being used here: http://www.phoenixfilmdxb.com/

I have looked through lots of forums and tutorials, but I can't seem to get it to work. I have attached my flash file. I am trying to learn actionscript, but still such a newbie to it. If anyone can help me, I would really appreciate it.

Thanks,
Bethany

Copyright © 2005-08 www.BigResource.com, All rights reserved