ActionScript 2.0 :: (MX2004) How To Play Timeline Backwards
Jan 29, 2005
Short 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.
Short 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.
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]
Is it possible to make the timeline run backwards through the timeline, so that I don't have to waste resources on reversing my scene intro animation later on in my main timeline? (imagine the intro is zooming into a book, then the reverse effect zooming out of the book).
I have been wondering this for a long time, but I assume that this is not possible.
SO im currently working on a project similar to one that can be viewed at [URL] (my inspiration) and i have everything set up like the following. Link 1(resume) will take me to my desktop area link 2(portfolio) will take me to the living room and link 3(contact) will take me to a conference area. so while im in the living room and i want to go back to area one. here is my source (my project folder is resume, tweener is located in resume/classes)
Im working on a project that allows the user to pan left and righ along a picutre (360deg) I can pan the movie right as it just moves frame by frame along the image timeline but when i try and pan left.. i have problems with when it gets back to the start of the timeline it just stops.
I've got a strange glitch goign on in one of my flash files. I load a set of menu items from xml and format their text using TextFormat at the time of loading. This works great until I start jumping around in the timeline. Working forwards in time it maintains its formatting, but if I jump backwards at all, it loses its alignment and defaults to Left Side.
//create the function that will load the xml info into the dynamic menu text function CreateMenu(side_xml){ //makes the xml file easier to navigate
I am using the following code to perform a rewind on the timeline when a button is pressed:On the REWIND button:
Code: on(release){ rewState = true;[code].....
My question is, can I limit the rewind feature to just 12 frames at a time? Right now it rewinds back to the beginning, totally skipping all the stop(); commands on the timeline. I've tried for, do, and while loops in various places (one nearly froze my computer up!) with no luck.
update: I've added the following to the code so the user can at least stop the rewinding:
Code: on(rollOver){ rewState = true; }[code]....
but the thing moves forward in 12frame intervals.It is wierd having it move in reverse freely like this. So I am still looking for a way to get it to move the timeline backwards in 12 frame intervals...
I had the idea of a circular menu, and when the user clicks on a menu item, that one rotates to the top, and becomes highlighted (hopefully with easing). I've searched around here for reversing timelines, etc. but can only find ones that go to the next set frame.How do I get it to skip past the menu items in between? For example if #1 is at the top and I click on #4, I want it to skip past #2 and #3.
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]
Problem: 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) {
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
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.
I 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.
In 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();
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 }
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.
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.
I've created a movieclip with buttons inside that I want to use to navigate to different scenes on the main timeline. I have created a function() that loads the button movieclip into the main timeline, but if I try to write a function() to activate the button and move the main timeline to a different scene/frame label it doesn't work. I have tried various things:
I put the code above on the main timeline. It doesn't seem to work. Basically, I could put just an on(release) handler on the buttons, but I wanted to try to keeping all the AS in one place if I can.
I've created a movieclip with buttons inside that I want to use to navigate to different scenes on the main timeline. I have created a function() that loads the button movieclip into the main timeline, but if I try to write a function() to activate the button and move the main timeline to a different scene/frame label it doesn't work. I have tried various things:
Is 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.
i 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.