Reverse A Movie Clip Help
Hi allMy 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!
KirupaForum > Flash > Flash 8 (and earlier)
Posted on: 09-26-2006, 01:00 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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 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
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 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
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();
}
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
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
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
Play Movie Clip In Reverse
Hi I have no real knowledge of actionscript, so please excuse my ignorance. I currently have rollover buttons which tell a movie clip to move along 32 frames at time. Here's what I have (thanks to help from this forum):
button:
on (rollOver) {
this.spinround.play();
}
and then at the first frame of the movieclip I have this actionscript:
stop();
this.onEnterFrame=function(){
if(this._currentframe%32==0){
stop();
}
}
with stop actions at each 32 frame interval.
However I now want to make some of the buttons to tell the movie clip to go in reverse. So on these buttons I have this:
on (rollOver) {
spinround.reverse=true;
this.spinround.play();
}
With this actionscript on the movie clip:
onClipEvent (enterFrame) {
if (reverse) {
this.prevFrame();
}
}
This doesn't seem to work, I'm not sure if it was the right way to go about it. I'm presuming I need to alter the code on the first frame of the movie clip which tells the movieclip to move along 32 frames at a time. But I have no idea what?
Can anyone help me? Many thanks.
Reverse Movie Clip On Rollout
Hi,
I'm doing something fairly complex for me, but probably pretty simple for some of you.
I have a movie clip of a plant growing. When you rollover a button called sampleText_btn, the movie clip starts playing, and when you roll out of it, the movie clip reverse/un-grows the plant. The problem is, the rollover/rolloff feature only works the first time you rollover. I believe the problem is that the rolloff function reversing the movie clip does not get disabled and it continues to counteract the rollover function of playing the clip forward.
Any suggestions? I tried setting an if/else in the reverse function to make it not go to the previous frame once reaching frame 1, but it did not work. Do I have to set true/false variables or something????
Here is my current actionscript...
ActionScript Code:
stop();
//Define Function plantGrow[url="http://www.russellsresume.com/webdesign/vineGrow04.html"]http://www.russellsresume.com/webdesign/vineGrow04.html[/url]
function plantGrow() {
delete (plantShrink)
plant_mc.play();
}
//Define Function plantShrink
function plantShrink() {
plant_mc.onEnterFrame = function() {
plant_mc.prevFrame();
};
}
//Call Function plantGrow on Rollover
sampleText_btn.onRollOver = (plantGrow);
//Call Function plantShrink on Rollout
sampleText_btn.onRollOut = (plantShrink);
Reverse Playing Of A Movie Clip
Hallo people! This is my first time posting a thread. Hope it works!
So, i wanna have a movieclip playing backwards. I use a mask and 2 buttons to go from frame to frame so that the user can move and have the illusion that they are standing in the middle of a panorama.
The problem is that i don't know which actionscript to use in order for the movieclip to go backwards when the user rolls over the right button.
hope i explained my problem enough.
thanx anyway for every answer.
Movie Clip Reverse Loop
hey --- what I'm trying to do is have a mc play continuously either forward or backward depending on whether you roll over the "forward" or "reverse" buttons...
I've almost got it there, except I can't figure out how to get the reverse to loop after it gets back to the beginning of the animation. any help would be greatly appreciated
http://www.brianfitzgeralddesign.com/spinner2.html
This is the current "reverse" code:
Code:
this.onEnterFrame = function(){
if(rewind == true){
_root.spinner_mc.prevFrame();
}
}
this.onRollOver = function(){
rewind = true;
}
this.onRollOut = function(){
rewind=false;
}
This is the current "forward" code:
Code:
this.onRollOver = function(){
_root.spinner_mc.play();
}
this.onRollOut = function(){
_root.spinner_mc.stop();
}
Play A Movie Clip In Reverse...
Someone here had an example of how to play a movie clip in reverse. (had an arrow pointing to a movie clip, and as it rolled off it played backwards) with the use of script rather than creating an "out" animation. I had it, but I misplaced it. anyone know of??
Play Movie Clip In Reverse?
Is it possible to play a movie clip in reverse?
My navigation is set up similarly to the us.billabong.com site in which it is kind of like the apple cover flow. I was wondering if I should simply create every animation for the cover flow section of the site, or if I could somehow have my animations play in reverse (which would cut my work in half), or if there is some way to do this with actionscript. Thanks so much for the help!
Dave
How To Play A Movie Clip In Reverse
I have a movie clip which I want to play part of it in reverse when I click the button.
For example before I click the button, the movie clip will play from frame 150 to 155 then stop. Then when the button is clicked, the movie clip should play from frame 155 to 150.
Is there a way to do it using ActionScript 3?
Reverse Playing Of A Movie Clip
Hallo people! This is my first time posting a thread. Hope it works!
So, i wanna have a movieclip playing backwards. I use a mask and 2 buttons to go from frame to frame so that the user can move and have the illusion that they are standing in the middle of a panorama.
The problem is that i don't know which actionscript to use in order for the movieclip to go backwards when the user rolls over the right button.
hope i explained my problem enough.
thanx anyway for every answer.
How Do I Get A Movie Clip To Play In Reverse?
I have a movie clip that is a simple animation. To cut down on file size I want to be able to play it in reverse. For example, An Animated scene that pans left, then back again. It must be done using key frames. I tried copying frames then reversing them but for some reason with this movie clip the keyframes that I cut and paste are always empty. Please explain why sometimes you can't copy,paste, and reverse keyframes while other times you can. Also please explain how I could play a movieclip in a pingpong type of way. Like going one direction and then back again using action script, and any movie settings I can. Thanks!
Single Button Movie Clip Reverse
I have seen many reversals using two buttons but that kind of defeats the purpose. I don't want to create the identical frames in reverse and use a stop either. I would like to have a single direction clip that plays forward/ reverse when clicking a single button and operates independently of the main timeline so I can use it as a flyout. I would ultimately want to run a crawl (tickertape) with editable text on this fictitious flyout. Am I nuts?
Reverse Motion Tween In A Movie Clip
hello, i've searched on this site for my issue, but i'm not sure i've found what i need.
on the root timeline, i have an instance of a movie clip that contains a motion tween (12 frames to increase the size of the mc).
on the actions layer of the root timeline, i have written some code so that when the end user rolls over the mc instance, the motion tween plays. what i'm having trouble with is getting the movie clip to play in reverse from frame 12.
bookIntro_1.onEnterFrame = function(){
this.onRollOver = function(){
this.nextFrame();
this.play();
}
this.onRollOut = function(){
}
}
i've tried this.prevFrame, but it only does one frame, not completing to frame 1 of mc.
i appreciate any assistance offered. thanks in advance.
Movie Clip Reverse Ignores My Actions- Plz Help?
OK- first post here. I had posted it in Newbie but no avail so I deleted it to post here- hope that is cool.
so...
I made a movieclip that is a series of images that tween into center stage and stop every 12 frames.
I have successfully used a script to place buttons in the clip to play forward and backward, so you can navigate each way through the images.
but...when the back button is pressed it ignores the stop actions on the frames.
code:
function reverseMe(){
_root.mcStreet.onEnterFrame = function(){
if(_root.mcStreet._currentframe > 1){
_root.mcStreet.gotoAndStop(_root.mcStreet._current frame - 1);
} else {
_root.mcStreet.onEnterFrame = null;
}
}
}
button code is:
on (press) {
_root.reverseMe();
}
Is There A Way I Can Make A Movie Clip Play In Reverse?
I made this movie animation, pretty detailed, but some scenes I think work beter reversed. its not a narrative, just mainly movement.
the thing is since its complex, it didnt work out too well when I did "reverse" frames. Anyone know of any other way I can do this other than the....."hard way?" it seems there would be a script way or just a simple command........
Im using multiple layers which is the reason why I cant flip them around
Reverse Movie Clip When Clicked On Another Button
When you click on a button it loads the movie clip that is on the main timeline. What I want to be able to do is when you click on another button the movie clip that you are on reverses and the new movie clip loads up.
Reverse Movie Clip On Button Press?
The site is www.amberbutler.com/index2.html.
Notice that when you click a link, the current content frame dissapears and the next one animates in.
I want the current content frame to animate out and then the next one animate in.
I can't find a tutorial anywhere and I've tried everything I can think of, even naming variables to call a series of complex MCs from the _root. Can anyone point me in the right direction?
Thanks!
sogj
Movie Clip That Plays In Reverse On Rollout
I have the following code which is applied to the movieclip
on(rollOver){
_root.over = true;
_root.off = false;
}
on(rollOut){
_root.over = false;
_root.off = true;
}
onClipEvent(enterFrame){
if ((_root.over)&&(this._currentframe <= 10)){
this.gotoAndStop(this._currentframe + 1);
}
if ((_root.off)&&(this._currentframe >= 1)){
this.gotoAndStop(this._currentframe - 1);
}
}
I am trying to target the instance for the movie clip as when I apply the code it just plays all the movie clips rather than the instances of the buttons. Could you help me edit the code to target the movie clip that I apply the code too.
Simple Movie Clip Reverse Problem... Im Thick
Hi All,
im trying to make a scrolling movie clip with a up button and a down button
this is my actionscript on the up button.....
on (press) {
tellTarget ("test") {
prevFrame();
}
}
on (release) {
tellTarget ("test") {
stop();
}
}
this works but only one frame at the time. the problem is i want it to play all the frames back untill i let go of the button...
any ideas?
thanks people
CD
Movie Clip Timeline Played In Reverse Triggers Multiple Load Events
Howdy
basically I have a movieclip of an animation, which contains 200 frames. the animation's playback is controlled by the _x of the mouse, so the user can shuttle through the animation by moving the cursor from left to right or right to left. OK so far.
when the animation reaches particular points in the animation, i want events to be triggered - so for instance, between frames 50 and 70 of the animation, i want to have a text label appear to specify the contents of that section.
what i've done is to have:
a basic movie clip with a keyframe on frame 50 and a blank keyframe on 70, with the following (approximate) AS:
ActionScript Code:
onClipEvent (load) {
_root.labelholder.labeltxtbox.label = "Scene 1"
_root.labelholder.gotoAndPlay(2)
}
onClipEvent (unload) {
_root.labelholder.labeltxtbox.label = ""
}
hurray! that works fine too. but if i now add a similar clip with different values (label = "Scene 2") further along the timeline, when i shuttle through from left to right, all is well, but when going from right to left, so that playback is in reverse, the load event is triggered several times, BUT ONLY FOR THE SECOND LABEL. no matter where the clip is added, only the first MC on the timeline triggers the load/unload properly.
might make more sense if you have a look at the attached .FLA within the eg.zip.
any solutions or alternative approaches gratefully received...
Reverse Video Clip
Is it possible, to on completion of a video clip to call an action to run it in reverse so it loops that way instead of going to the end and starting at the beginning, i know i could just do everything in reverse and add it, but that is alot of work for one, and for two it will make the file size bigger. Thanks for any help.
Reverse Clip & Sound Sync Issue.
I have a clip that plays forwards on (rollOver) and then backwards on (rollOut)
The only problem is I have a sound byte on the timeline that plays great when playing forward but doesn't sound right when played reverse.
I know it's because the sound is triggered to the frame it starts from but what would be the best way to make the sound play properly in both forwards and reverse?
I can attach a sample if neccessary.
Thanks,
Darren
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.
Making A Movie Clip In A Movie Clip Go To The Next Frame Of The Original Movie Clip
I have a movie clip (for simplicity I'll call it movie_a) in movie_a I have another movie clip movie_b.
in movie_a i have a button that when pressed makes movie_b play (it has a stop frame every once in a while so the button acts as a "next" button)
I want it so that when i get to the last frame of movie_b and press the button, it will go to the next frame of movie_a
I hope that doesn't confuse u and u can help me solve this problem, as i am stumped and I've tried everything I could think of (which isn't that much as I'm not too good with actionscript)
thnx
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
|