Reverse Movies
can anyone help me please...
Is it at all possible to simply play a movie backwards using actionscript's built in commands, or do i need to design a function to do this?
If so has anyone else tried to do this.
Basically i'm using a 3DSMAX encoded AVI but need to to play it backwards. Additionally, Is it possible to convert this AVI into individual flash frames so i can use the reverse method..?
Any advice would be appreciated
jase out...
Ultrashock Forums > Flash > ActionScript
Posted on: 2003-08-04
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Trouble Creating Reverse Rollover Movies Within Movies
Hey ooh my first post.
I have been having trouble creating a movie clip with a reverse rollover effect within a movie which has a reverse rollover effect. that sounds confusing
In essence I wish to create a panel that rolls out on rollover and rolls back in reverse when the you rollout. I have done this using this script
stop();
this.onEnterFrame = function() {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function() {
rewind = false;
play();
};
this.onRollOut = function() {
rewind = true;
};
However I wish to make movies within this movie that have the same effect on them. But when I create another movie or button within this movie it is not registering on rollover. I guess because the script on the main movie overrides it?
Sorry for the poor explantion, any ideas?
Reverse Movies
I have a question, how do you 'reverse' a movie when its finished.
I would like my movie to go back and stop after the user clicked on a button. How ............?
Thx guys
Movies In Reverse
Hello everyone at Flaskkit!!!......I enjoy your site, and it has helped me drastically with the progression of my newly designed, interactive flash website. Thanx to all who helped.
I was wondering if it is possible to play a motion tween in reverse. Rather than having to complete a new motion tween with the same effects, i would prefer to just play it backwards. Nothing seems impossible with Flash 5.0, but I may be getting carried away with the endless functions. Anyone with help/comments/suggestions please inform me.
Your help is much appreciated,
Thank you.
Xtrem Rukus
Reverse Movies
Im not entirely new @ flash however there is one effect i need help with...With buttons i make mouseover effects how can i implement it so that mouseout makes movie clip play in reverse. I can easily do it with a mouseout clip however i want it so if someone only mousesover half the effect however far it has gone it reverses to how it was....
Anyone who can help would be apprciated!!
Thanks
Playing Movies In Reverse With Prevframe
Have been looking in the forums for a while but havn't need to post any thread since I usually find whatever I need by searching.
I have a video embedded in the timeline, and some buttons that when clicked will play either backwards or forward.
The forward play goes just fine, but when it tries to play backwards it slows down to allmost nothing.
Any idea as to how I should fix this?
Here is the code I use on the buttons.
Code:
on (release) {
if (_root._currentframe == 1) {
stop();
} else {
play();
}
if (_root._currentframe<1) {
this.onEnterFrame = function() {
if (this._currentframe<1) {
this.nextFrame();
}
if (this._currentframe != 1) {
stop();
} else {
delete this.onEnterFrame;
}
};
}
if (_root._currentframe>1) {
this.onEnterFrame = function() {
if (this._currentframe>1) {
this.prevFrame();
}
if (this._currentframe != 1) {
stop();
} else {
delete this.onEnterFrame;
}
};
}
}
How Do You Reverse Your Animation Or Do A Reverse Wipe...
...when loading a new movie or going to a new scene? In other words, when a new movie is fading in and then stoping to reveal buttons or navigation, how do you tell your movie to reverse your frames or reverse the intro animation, then go to and play a new movie? I apoligize it's hard to explain. Here is an example...
http://www.djstevelawler.com/
1)enter the site
2)skip the intro
3)you will then see the turntable and all of the animation fade in along with a drumset that if clicked reveals your navigation.
4)click on "chart" for example
5)the entire animation reverses itself or fades out the way it first came in, this is the effect that I'm after.
6)the chart page fades in along with the navigation
7)clicking the back button and the chart page fades out again just as it faded in and load the portal page.
Please help me out with this. Even if you can point me toward a tutorial I would be extremely grateful.
Thanks!
Loading Movies Inside Other Movies In An Ext Movie Holder?
Here's one for you:
I've got my main movie that has a movie holder on it (entitled movieholder.) The buttons on the left control what goes in the movie holder. In one of the movies there is a list of songs that are actually buttons. These buttons call up another movie(with MP3s). How do I get the MP3 movies to go into "movieholder" when they are being called by a button inside 'movieholder'
I'm using MX
Hope that made a slight bit of sense!
Thanks for any help,
Graeme
Movies In Movies And Multiple Scenes...grrrr HELP
Hi all!
loadMovieNum ("events.swf", 8);
level8.gotoAndPlay("DIRECT3");
stop ();
ok, i have just done a few flash movies, but I am openning swf files in my movie, however these movie have a preloader and a 2nd scene before the main scene.
The problem I have is that I need play from a frame in my main scene (called Direct3).
I used the above AS to load my movie, but I have a feeling that its not going to my requested frame label...
I am sure this is possible, please could someone point me in the right direction...
Thanx in Advance....
WolfFang
Loading Movies Into Movies With Scroll Bars O_O
I have a site where I'm showcasing my talents (Obviously figuring scripting out won't be one of them) and I load movies into the central area by using simple commands, and it all works. Now I need to have of of those movie to scroll around, because I'm showcasing banners and have more than 400 pixels of height can fit.
I was thinking of using the same textField system that I used for my news section, but replacibng the textField part was a different thing for Movies.
There's got to be an easier way though. Can anyone help me?
Ummm... Loading Movies Inside Movies.... Help?
I posted a question about this a month or so ago, but now (I've had to work out problems on other sites in the meantime) I'm totally ready to figure this out!
I have a VERY large Flash Web site. So, it was suggested that I chop up the site into a few smaller movies. From there, I would set up a main page with a ["target"?] movie clip nested in it. Then, when a button has been pushed, the corresponding swf loads inside the movie clip. I think I can handle that... (although a nice tutorial would be great!)
The problem I'm having is... These swf's can be 'called' from each other, meaning the same buttons will be in each movie. However, the buttons will trigger different frames in each movie, depending on which movie you're already in. I'm betting this is confusing...
EXAMPLE: Every page has 4 buttons, "Who We Are", "Success Stories", "Portfolio", and "Contact". From the Home page you can push any of these buttons and it will go to the first frame of the corresponding movie and a quick, little animation displays as it takes you into the page. That's great. The problem is that, if you were in the "Who We Are" page and clicked "Contact" it should NOT go to Frame 1 of that movie... It should go to Frame 30, because there is a specific animation that connects "Who We Are" to "Contact" that is not the same as the connection animaton between "Home" to "Who We Are". So how do I get the code to be more specific?
HELP!
~Vik
http://www.explorecore.com/index3.html
Dynamically Loading Movies Into Movies With Variables
This might be a kinda tough one. I'll explain the best that I know how.
I want to load jpg images into a movie/button (movie clip with a button instance inside of it with another movie clip inside the button), but I need to do it dynamically.
I was thinking about naming all of the files the same but just change the numbering at the end. Then I can just use an i value to obtain the next file.
Code:
for(i=1;i<5;i++){
loadMovie("something"+i+".jpg","mv_btn_"+i)
}
so, basically I have 5 buttons with 5 images to import. The buttons already have the proper numbers on them, I just need to import the clips into the corresponding button.
Sound Linkage When Loading Movies Into Movies
I have an intro.swf file that is basically a movie with sound that is exported for actionscript but not exported in the first frame. I just stuck it in a movie on my timeline and it works great and the preloader works because it doesn't load the sound before the preloader. I use :
musicSound = new Sound();
musicSound.attachSound("music");
musicSound.start();
to play the sound in intro.swf.
However, now this intro.swf gets loaded into an index.swf and everything works fine and the sound plays as long as I have the sound included in BOTH the intro.swf and the index.swf and the sound is exported on the first frame in the index.swf. I was hoping I could remove the sound entirely from my index.swf since it already loads into the intro but so far I haven’t been able to figure out how without breaking the sound. Any advice or help would be greatly appreciated.
Frustrated With Loading Movies Inside Movies.
Ok here's my sight:
http://www.fantim.org/811/index2.html
This is my second attempt at making an all flash site. I got two questions.
1. Lets say I have three movies. Movie1.swf Movie2.swf and Movie3.swf
Movie1.swf has Movie2.swf loaded inside of it. Is there anyway to make Movie2.swf load Movie3.swf inside Movie1.swf ? Does that make sence?
2. Is there anyway to load only certian parts of a movie into another movie? For example:
I have this file http://www.fantim.org/fantimshow/movies/movies.swf (Don't mind the chopiness of it) As you can see it has excess stuff on the sides. Is there anyway to load this within another movie without showing this excess stuff?
Any help would be appreciated.
Thanks
Loading/unloading Movies In Loaded Movies :|
Yeah, I know that sounds confusing. Lemme explain:
- interface.swf it's my main movie;
- interface.swf load section1.swf in a specific container called containerMC (duh! );
- section1.swf load other movie, section1a.swf;
- I need a button in section1.swf that load section3.swf in the same main container (containerMC in interface.swf), unloading section1.swf and section1a.swf.
Well... I need some tips about the action of my 'overloaded' button
Sorry about my english
[]'s
Edu
Frustrated With Loading Movies Inside Movies.
Ok here's my sight:
http://www.fantim.org/811/index2.html
This is my second attempt at making an all flash site. I got two questions.
1. Lets say I have three movies. Movie1.swf Movie2.swf and Movie3.swf
Movie1.swf has Movie2.swf loaded inside of it. Is there anyway to make Movie2.swf load Movie3.swf inside Movie1.swf ? Does that make sence?
2. Is there anyway to load only certian parts of a movie into another movie? For example:
I have this file http://www.fantim.org/fantimshow/movies/movies.swf (Don't mind the chopiness of it) As you can see it has excess stuff on the sides. Is there anyway to load this within another movie without showing this excess stuff?
Any help would be appreciated.
Thanks
Reverse An MC
yes my flash bible would answer this question quickly but I dont have it!! please help
what is the action to reverse movie please?
How To Reverse
How do you make a movieclip reverse ?
i mean make them go back after a certain time (for instance at then end of the movieclip)
Thx guys
Reverse MC?
Is there any way of getting a movie clip to play in reverse
Ive asigned a button to play a movie clip but I want the movie clip to play in reverse is this possible
Reverse The MC
What could be added to this code to keep the MC playing in reverse instead of moving back just one frame while the mouse is over the button?
on (rollOver) {
if (_currentframe>1) {
prevFrame();
}
}
on (rollOut) {
stop();
}
Thank you,
JF
XML In Reverse
i had this problem like a year ago, but i forgot what it was
i have an xml document like:
[ things ]
___[ a / ]
___[ b / ]
___[ c / ]
[ / things ]
i load the xml, put these into an array and get them out using a for..in loop
so i tested this before i hit the submit button
when i use the for..in, it goes backwards
if i get the maxLen of the array and use a for loop, it works fine
funny huh?
Reverse
Can someone tell me why this would not work for me as a Button action..
on (press) {
while (this.textMc._currentframe>1) {
// keep playing the previous frame...
this.textMc.prevFrame();
}
}
// if the mouse is NOT over the clip
on (release) {
this.textMc.stop();
}
OR EVEN THIS....
on (press) {
if(this.textMc._currentframe>1) {
// keep playing the previous frame...
this.textMc.prevFrame();
}else{
stop();
}
}
// if button is released
on (release) {
this.textMc.stop();
}
I wanted the simplest possible way of making a movie play backward,,,
Many thanks
Getting A Gif To Reverse?
Hi i hope this doesnt post twice i already did it once and it never posted sorry if it does. I have a gif that i want to reverse. I have my image going one way now i want it to go another way. Any ideas on how to do this? Thanks
Reverse?
hi,
workin with a menu which tells a certain swf. to load. i want to know if there's a way to have
1. the button which tells to unload a movie
AND
2. tell the same movie to play reverse. something with tellTarget maybe?
i have this action on the button:
on (press) {
unloadMovie("bio.swf");
thanks in advance,
noodle
How To Reverse An MC
Hello,
I have an MC that contains a video that's 175 frames long. I'd like it to play forward and backward endlessly but I can't figure out how to reverse it so that I can paste the reverse onto the end of the forward clip or how to script it so that when it reaches the end of the clip it plays itself backwards. Seems so simple, yet I can't get it.
Much appreciated,
Llyfre
Reverse
Ok,
Here is what i am trying to do. I am trying to make a slide show. And it intels pictures. Well anyway, I want this slidshow to have a certain feature when a user press on a pic the lets say he or she press on the 9th pic and the slides will scroll to that pic. well here is the tricky part. If he or she press on the third pic, then the slides will scroll back to the third pic. How can I do this? what source will I need to look up? Thanks All.
Reverse
Ok,
Here is what i am trying to do. I am trying to make a slide show. And it intels pictures. Well anyway, I want this slidshow to have a certain feature when a user press on a pic the lets say he or she press on the 9th pic and the slides will scroll to that pic. well here is the tricky part. If he or she press on the third pic, then the slides will scroll back to the third pic. How can I do this? what source will I need to look up? Thanks All.
Reverse
I'm using the follwing AS to f & R the MC.
onClipEvent (load) {
centerPoint = 390;
}
onClipEvent (enterFrame) {
_x += (centerPoint-_root._xmouse)/10;
}
My stumbling block and question is this, can the MC be stopped/paused, if so
what would be the AS if it is possible. I have 2 books in which none speak of the ability to stop or pause the clip.
Thanks,
FlashDummy
p.s. Great site
Reverse A M.c. In Mx To Pro 8
does anyone know if actionscript has changed in the flash pro 8 from flash mx. i have tried the same exact code to play and reverse a m.c. on mouse rollOver and rollOut. and the same code doesn't work in pro 8 as it does in flash mx. does anyone have any ideas. i am desperate.
thanks,
jeff
How To Reverse An M
Hello,
I have an MC that contains a video that's 175 frames long. I'd like it to play forward and backward endlessly but I can't figure out how to reverse it so that I can paste the reverse onto the end of the forward clip or how to script it so that when it reaches the end of the clip it plays itself backwards. Seems so simple, yet I can't get it.
Much appreciated,
Llyfre
Reverse
Hi Me Again
I had a question ---- Is it possible to play a timeline in reverse order? ---- by that I mean ---- Imagine a ball animated to move from left to right --- is there any way by which the play head can be made to move in reverse order---- that is without animating the motion back---- i.e. form right to left....
Reverse AS?
Alright I have a pretty big animation with alot of letters in it where they change from one color to white now I don't want to spend alot of time doing it so that it would fade back to blue in the same order it did the first time so is there some type of actionscript where It would play it but backwards and then start the animation again?
Like gotoAndPlay(80) = reverse; or something?
EDIT/ and I know that my title is Reverse AC it should be AS lol.
Reverse MC
Able to get the swap function to work but seem can't get the reverse function to work (prefFrame):
Code:
var swaps:Array = [one, two, three, four, five];
var highest:Number = _root.getNextHighestDepth();
var current:Number;
for (i=0; i<swaps.length; i++) {
swaps[i].onRollOver = function() {
current = this.getDepth();
this.swapDepths(highest);
this.gotoAndPlay(2);
};
swaps[i].onRollOut = function() {
this.swapDepths(current);
this.onEnterFrame = function(){
prevFrame();
}
};
}
The functions I'm attempting to simulate is similar to this concept: http://www.templatemonster.com/flash...ates/8785.html
Any suggestion or better functions than above?
Thanks,
Friggin' Mick
Reverse The MC
OK - I'm been searching the forum, and found some useful information, but I still can't get it to work the way I would like it to.
Here the thing, I've made a simple animation and ONE button. When you RollOver the button the animation STARTS to play, and when RollOut the animation plays backward (prevFrame)..
I'm kinda stuck here, found alot of useful code in here, but I can't figure out how to put it together so it will work my way!
So ANY help would be NICE!
Oh, and BTW the animation needs to be stoped at the last frame!
Reverse
I wouold like to make an interactive button be able to reverse action in a scene. Any ideas?
In Reverse
hey,
Well, i got flash 8 about 2 days ago and have been teaching myself without tutorials, anyways im having a problem... say i press the left arrow key to make the box for instance move left then when i press cntrl+enter the animation is in reverse :S please help us.
Alex
How To Reverse Movement
Hi, I'm a newbie in scripting. Anyways, here's the scenario:
I have a bouncing ball (using regular tweens). It then moves from left to right using:
this._x = this._x + six;
Then, as soon as it hits a certain point, say, 500 pixels, I'd like to reverse it. Si I added an <if> condition, that says this: (I'll just add the whole script!)
onClipEvent (enterFrame) {
six = 10;
end = 400;
if (this._x >=end) {
this._x = this._x - six;
} else {
this._x = this._x + six;
}
}
So as soon as it hits the "wall", it should reverse, and it does for one step, but then it goes back again, and is stuck in an oscillating movement. Perhaps someone could help explain how to keep the ball moving backwards???
thanx
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]
Reverse Directions?
Here is my code:
onClipEvent(enterFrame) {
this._x = this._x * 0.95;
}
How can I make this object travel from left to right instead of the other way around? I know I can just change 0.95 to a whole number, but then it won't ever stop. I want to have the 'friction' effect to it, but I can't seem to get it to work. Putting a negative sign in front of it didn't seem to work, or maybe I'm doing it wrong?
Play In Reverse?
Hey FlashFriends,
I have a button with a mouseover event of on press play, on release stop. I have another button that i want to attribute the same action to, but the play to play reverse.
Possible?
Thanks for any help....
Jonathan
Play Reverse
I have a Movieclip and I want a button inside it to make the movieclip play backwards.
Dissolve In Reverse?
How might I go about doing this effect in reverse? Instead of disappearing, I would like text to apparate. I've tried reversing the frame order afterward, but instead of flipping/rotating throught motion tween, the item just moves toward the second keyframe in a rather unimpressive way. Here's the example:
http://www.flashkit.com/tutorials/Te...47/index.shtml
How To Reverse MC's Movement?
Hi, I'm a newbie at actionscript and would like to know how make an object reverse it's movement after reaching a certain point...Here's my movement script:
onClipEvent (enterFrame) {
this._x=this._x+10;
}
That'll make it slide across the screen. But if I'd like it to reverse after it reaches, say x=600, how do I proceed?
Thanks....
Reverse Script Help Please.
I have a small problem, well Iˇ¦m just practicing. Ok picture this;
I have two buttons, one that when pressed plays the movie clip, and stops when released.
on (press) {
tellTarget ("mc") {
play ();
}
}
on (release) {
tellTarget ("mc") {
stop ();
}
}
So far so good! Now for the other button I want it to reverse the movie. So far I have got this;
on (press) {
tellTarget ("mc") {
prevFrame ();
}
}
on (release) {
tellTarget ("mc") {
stop ();
}
}
Doesnˇ¦t work how I want, you see it only goes to the previous frame one at time, and this is only if you keep clicking the button! I need a smooth reverse by pressing and holding down the mouse button.
How would I do this?
Reverse Movieclip
Once I have created a button that triggers a movieclip on a rollover state, how can I get the movie to play backwards on the release state?
Reverse Loading Of MC's
Hello again...OK this is a another MAJOR irritant.
I am loading a few different swf's in a LOADING main file when corrosponding keys are pressed. This happens in chronological orde ...that is..1.swf and then 2.swf etc.
They are loaded into a MC on the main timeline(root)
Each of tehse MC's is movable UP-DOWN using cursors to read the whole file.
Now a button in 1.swf lets me load 2.swf , etc.
But if I go in reverse and load 1.swf from 2.swf then a problem occurs. 1.swf loads from its originl position, but I wud like it to be loaded in its last position.
Can anyone HElp?..
Thanx
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
How Can I Reverse And Instance?
I have seen the posts about reversing movie clips but I am tring to use a function instead of a full MC.
I have an instance named "landscape". The _xscale=300.
This is used with the function
_root.movePieceright(This);
This code sets the x limits
if (_x>0) {
_x = 0;
}
if (_x<400-_width) {
_x = (400-_width);
}
Next I have a button with code
on (release) {
if (_x>=0) {
function movePieceright (Landscape) {
with (Landscape) {
_x += -2;
}
}
}
}
This starts moving the instance to the right until it reaches limit.
Is it possible to have another function movePieceleft take over and move the instance to the left when the right limit is reached?
Reverse Play
I have a timeline with six images which have the effect of travelling in a loop from foreground and then into the distance. I want to have 2 buttons one for forward movement and one for reverse movement. I would like to use an on roll over event to trigger this movement. "Next frame" and "play" works fine in the forward direction. However, "previous frame" stops after only one frame and has to be "roll out" "roll over" repeatedly to make it move backwards. Is it possible to get a timeline to play backwards with actionscript or is it necessary to duplicate the timeline and reverse the frame order, jumping between the two.
If it isn't possible I think it would be a welcome addition to future flash releases.
Thanks for you wisdom.
Manson
|