ActionScript 3.0 :: Making The Main Stage Timeline Play In Reverse?

May 27, 2009

methood of telling the stage to continue playing in reverse, after a button is clicked, until it reaches a keyframe that will tell it to stop? I'm trying to make it so buttons will tell the stage to play a transition from beginning to end and then have it play in reverse when the "back" button is pressed. I'm currently searching online to find an answer but I haven't had any luck yet.

View 10 Replies


Similar Posts:


ActionScript 2.0 :: CS3 Making A MovieClip Play It's Frames, Then Stop On A Main Timeline Frame?

May 12, 2010

I am currently in the middle of making a "sniping" flash game. In the first level there are a series of moving targets which are also movie clips. Inside the movie clip there is a 7 frame animation of the target exploding. Inside that is a tween of the target moving up and down. And inside that there is a plain old button.

What I want to happen is when you click on the moving target it explodes and brings you to a new frame of the main timeline. (ex. Main Timeline frame #27) But I'm pretty sure it thinks I was to play the seven frame animation of it exploding and then go to frame 27 inside the movie clip, rather then frame 27 on the main timeline.

Here's what my AS looks like on the target (ActionScript 2.0 is what I'm using.)

on (press) {
play();
}
on (release){
gotoAndStop(27)}

So how do I make it explode and then take me to frame 27 on the main timeline?

View 3 Replies

ActionScript 3.0 :: Play Timeline In Reverse?

Feb 24, 2010

I'm working with AS3 and I have two questions. First, to save on having to re-do work, is there a way to simply play the timeline in reverse IE from frame 210 - 200? I've got a page set up to slide in from the right when clicked on, and if you click on the back button, I want the page to slide out to the right again. Figured the easiest way to do this would be to simply reverse the timeline. Just don't know if that's possible in flash.

Secondly I've got it set up in the timeline for a FLVPlayback component to slide in to the center of the stage from the right when its page is clicked on and though this works in the timeline, when I test the movie, it doesn't slide in and if I expand the preview to full screen, the flv and its controls are still on the right side of the stage. how to get the movie to slide in properly?

View 1 Replies

ActionScript 2.0 :: Possible To Have A Timeline Play In Reverse?

Jun 11, 2005

Two questions to which I cannot find the answers:

(1) I would like to be able to "grab" the current frame (as an integer) that the timeline is currently playing as the SWF plays and use it as a variable:Number. Is this possible? Alternately, it could be how many (milli)seconds the swf is into at a given point during playback. Is this possible? I'm trying to create a scrubbable SWF based on current frame that playhead is on relative to frame(1) and frame(last).

(2) Is it possible to have a timeline play in reverse? Example: swf plays until frame 25 where it is told to stop();, then depending on a condition, it either play();'s on to the next stop(); action or playReverse();'s (I know that this doesn't exist) back to the beginning of the SWF at the document's frame rate.

View 1 Replies

Activate MovieClip To Play Reverse In Timeline?

Nov 5, 2009

I need to have the ability to spin or rotate an object such as a globe. I have 2 rollover mc's that spin the globe but I am having trouble getting it to loop on the backwards spin. Right now I have it acivating the mc to play fowarding in its timeline then loop but what is the best way to get it to go in reverse. My .fla can be found here [URL].

View 1 Replies

ActionScript 2.0 :: Reverse Play Timeline Till Stop?

Apr 27, 2011

I have 3 objects. One is a Movieclip, and other 2 are buttons (forward and backward)[code]...

Inside MC there are several animations with stop(); where it should stop till clicking Next button to play till the next stop.[code]...

View 1 Replies

ActionScript 3.0 :: Makes Flash Player Play Timeline In Reverse

Jun 25, 2009

I was just wondering if there was any code that makes flash player play the timeline in reverse. For example, if you made a movieclip in frame 1 to go to another place on frame 10 using motion tween, could you possibly make a button and code it so that it plays backwards to a 'stop' point or the start?

View 6 Replies

ActionScript 2.0 :: Scroll All Objects Across The Screen Without Making A Tween On The Main Timeline?

Jan 4, 2004

I have a movieClip, with other movieClips inside of it, objects that I want when hit to lose points. But when I have the movieClips inside that one, it just has a giant "boundry box". I want the points to go down when you hitting only one of those items,instead it just goes does throughout the entire thing.

There is no way for me to scroll all those objects across the screen without either making a tween on the main timeline for each object (almost 20), or somehow making a giant movieClip scroll all of them all the way across, bypassing the first boundry box, and acknowledging the movieClips.

View 9 Replies

Play/Stop Flv From Main Timeline?

Sep 30, 2008

[URL]about 30 seconds into this flash, there is an FLV of a computer screen. The problem is, when I pause the swf, the flv keeps going. How do I get around this?1. Is it possible to convert the flv to swf?OR2. Is it possible to control the flv from the main timeline?

View 7 Replies

Professional :: Play Movieclip On Main Timeline ?

Jan 7, 2010

I've created a movie clip with an animation on it's own timeline 30 frames long. When I press 'Enter' while inside the movieclip the animation plays ok.On the main timeline, I have one layer 30 frames long with the movieclip symbol placed on frame one. If I press 'Enter' the main timeline play head moves to frame 30 but the movieclip animation does not play on the stage. If I press 'Ctrl + Enter' or publish to swf then the animation plays ok but I can't setup the stage how I want it without the animation playing on the stage. Do I need to just change a viewing setting (tick box in preferences) or is this related to AS3 or new CS4 inner workings?

View 4 Replies

ActionScript 2.0 :: Possible For Main Timeline To Continue To Play?

Aug 30, 2004

After a swf movie loads, is it possible for the main timeline to continue to play? Right now if I don't put a stop action where I call in my loaed movie, my main time line plays while the called swf file loads, and the end animation is off then.

View 1 Replies

ActionScript 2.0 :: MC On The Main Timeline - Play Only When Roll Over

May 4, 2009

I have an MC on the main timeline. i want this mc to play only when i roll over so i have placed this code one the MC:

[Code]...

This works without a problem. When i rolover the MC it plays and thats all good however if the animation is half way through and i rollover again the MC restarts. I would like to add a condition statment that only allows the movie to play if its current frame is at 1 or only to play if it isnt currently playing. I appologise if i havent explained it too well.

View 2 Replies

ActionScript 2.0 :: Get The Main Timeline To Continue To Play?

Aug 30, 2004

After a swf movie loads, is it possible for the main timeline to continue to play? Right now if I don't put a stop action where I call in my loaed movie, my main time line plays while the called swf file loads, and the end animation is off then.

View 1 Replies

Movie Clip Symbol Won't Play On Main Timeline

Aug 29, 2005

I've created a movie clip symbol with it's own animation on its timeline. I've placed this symbol onto the first frame of the main timeline but when I test it, it doesn't play. There's no stop actions or anything on either timelines so I'm not sure why this is happening. I thought that the animation in a movie clip symbol will automatically play (i.e. if you test in a browser) once it's on the main timeline - is this right? Or am I doing something wrong. Maybe I need to tell it to play?

View 6 Replies

Scrub Main Timeline And See Movie Clips Play?

Jun 14, 2009

Is it possible to have an instance of a movie clip symbol which has its own timeline "play" when you scrub the main timeline?You can do this with graphic symbols, but so far I've had no luck doing this with movie clips.See, I have a movie clip -- several actually -- with their own timelines which I want to place in the main timeline.When I scrub the main timeline I'd like to see them scrub as well, instead of simply seeing the first frame of the movie clip.I basically have to work blind like this.
 
What I'm trying to do is basically have several "slides" which are animated and then have a stop();. They'll sit there for a second and then the entire animation, or slide (movie clip) will move off the stage. I can't do this now. When I scrub the main timeline I can't tell what's happening in the movie clip. I can't tell when I can slide it off the stage.I tried to get around this by using graphic symbols with their own timeline, but adding a stop(); doesn't work in them.

View 1 Replies

ActionScript 3.0 :: Loop On The Main Timeline - Play 3 Times And Stop

Jul 22, 2009

I have a very simple banner that I would like to play 3 times and stop. How can I do that in Actionscrip 3.0?

View 4 Replies

ActionScript 3.0 :: Get Movie Clips To Play In Sequence On Main Timeline?

Nov 19, 2009

I've created two movie clips in Flash CS3, and I am now trying to understand how to get them to play in sequence on the main timeline.

I am noticing that when I change the Action Script in one movie clip, the Action Script in the other movie clip changes as well.

View 3 Replies

ActionScript 3.0 :: Play Exit Animation On Main Timeline Then GetURL?

Feb 17, 2010

I'm building a website using actionscript 3 with an animated intro and it has 8 movie clip buttons called Tab1, Tab2,etc. which when clicked navigate to different URL's. I would like play an exit animation (frame 300) on my main time line when a button is click and then goto the url page.

View 7 Replies

ActionScript 1/2 :: Main Timeline Scrubber Play/pause Component ?

Jul 27, 2011

I have a series of movies I'm creating that have streaming audio with animation synced to the audio. I was wondering if there is a component out there, or an FLA, that is a scrubber control bar like the one you see in Articulate Flash presentations, or video.I need it to control the main timeline.I have searched google for a while now and I can't seem to find one.

View 5 Replies

ActionScript 2.0 :: Play Different Movie Clip At A Given Fame On The Main Timeline?

May 15, 2003

I need to play different movie clip at a given frame, let's say 100, in the main timeline. For example,

if(_root.x==1) play movieClip1;
else if(_root.x == 2) play movieClip2;
else if(_root.x == 3) play movieClip3;

How can I do it?

View 1 Replies

ActionScript 1/2 :: Access A Variable On A Main Stage Timeline?

Jul 15, 2009

On my movie clip timeline, what's the syntax to access a variable on a main stage timeline?

View 1 Replies

ActionScript 2.0 :: MC - Click On Movieclip And Make It Go To And Play A Keyframe On The Main Timeline?

Jul 28, 2010

I have a movieclip (a), inside another movieclip (b), on the main timeline. I want to click on movieclip (a) and make it go to and play a keyframe on the main timeline. I'm used to using buttons for actions, not movie clips, and I forget how to use the _root thingy.

View 3 Replies

ActionScript 1/2 :: Play Main Timeline After A Movie Clip Is Finished Playing?

Jul 10, 2009

The movie clip is an actionscript movie which calls images from an external XML file and shows them as a slideshow. What i need to do is after the last image plays, stop the movie and move the main timeline to the next scene of the main movie. Everything logical in my brain is not working, and it may be that I have been staring at this project for too long but for the life of me i can't make this work.

View 11 Replies

ActionScript 3.0 :: Play Pause Button On Main Timeline In Flash Movie

Jan 28, 2011

I have been trying to create a play/pause button for the main timeline in my flash movie. Created a movie clip with 1st frame - a pause graphic, then on 2nd frame - play graphic, labelled the frames 'pause' and 'play' consecutively and put a stop action on the first frame of the movieclip. Then put the following code in the actions layer of the main timeline (and gave instance name of 'ppBtn' to the movieclip):

var pp:Boolean = true;
function ppState(event:MouseEvent) {
if(pp) {
stop();
event.target.gotoAndStop('pause');
[Code] ....

It works in stopping and starting the movie but the actual movieclip doesn't toggle between the pause and the play graphics (just stays on the 'pause' state - 1st frame).

View 5 Replies

ActionScript 2.0 :: Movie In The Main Timeline That Has 3 Movies Inside With 3 Buttons To Play Them?

Jan 29, 2003

I have a movie in the main timeline that has 3 movies inside with 3 buttons to play them.I Want to force the user to click in the 3 movies before they jump to a diferent frame in the main timeline.

View 1 Replies

ActionScript 2.0 :: Telling Main Timeline To Play Backwards From Movie Clip

Apr 4, 2007

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 Replies

ActionScript 3.0 :: Move Main Timeline (stage) From Inside Movieclip?

Jun 11, 2010

I have an animation (movieclipX) on frame 2 of main timeline. At the end of movieclipX I'd like the main timeline to move to the next frame, frame 3. How can I do this??Sorry if this is an easy question, I'm in the process of learning.

View 8 Replies

ActionScript :: Difference Between Object Main Timeline / Stage And Root?

Sep 3, 2011

I want to know the difference between [object main timeline], stage and root in as3.

View 1 Replies

ActionScript 3.0 :: Moving The Play Head In The Main Timeline From A Button In A Movie Clip?

Jun 23, 2009

I have a movie clip that loads and when it is done playing it has a close button that unloads the movie clip... I want to add code to this button that moves the play head to frame 20 of my main timline using actionScript 3.0

View 10 Replies

ActionScript 2.0 :: Sequentially Play External Video SWFs Loaded Into The Main Timeline?

Feb 14, 2008

how to sequentially play external SWFs loaded into the main timeline?

I have several SWF files with short videos embedded in them. I wish to load these external SWF files into my main timeline as follows:

User Presses Button -> Play Video Clip in External SWF#1 -> Once Video Clip in External SWF#1 has Finished -> Play Video Clip in External SWF#2.

I tried achieving this by adding: var endmovie:Boolean = true; to the end of each video clip inside the external SWFs (e.g. 1.swf) then cycling through an if statement in the main timeline to see when this condition was meet:

ActionScript In Main Timeline:

Code:
var mc_Loader = new MovieClipLoader();
mc_Loader.addListener(this);

[Code].....

How is the best way to go about achieving this? Am I on the right track? (By the way, using .FLV or one long external SWF file is not really an option due to long loading times...

View 3 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved