ActionScript 2.0 :: Playing A Movie Clip In Forward And Reverse With A Single Button?

Oct 5, 2010

i am new to this site and also to AS i am trying to create a an expand and collapse functionality in which i want a movie clip to shrink and disappear when i click on a button and reappear when i click it again the solution that i came up with was i animated the movie clip shrinking and disappearing and now i think playing the timeline in reverse will solve the other half and i also added the stop script at the 1st and last frame of the movie clip.

i tried a lot and a number tried and tested the no of scripting techniques posted on other threads

View 9 Replies


Similar Posts:


ActionScript 2.0 :: [FMX].mc Control - Make A Movie Clip Play Forward Or Reverse

Aug 8, 2003

what im trying to do here is have a button's (named btn) over and out states make a movie clip play forward or reverse. and my fla is named MCC. im fairly new so the more detailed explaination of the code the better. this is my code so far in the MC

[Code]....

View 3 Replies

IDE :: Button/Movie Clip Reverse?

Jun 8, 2009

Pretty new to Flash, and im looking for a tutorial on how to make buttons that reverse movie clip using rollOver/rollOut...

Been struggling to find a tutorial/code thats more recent than Flash 5. Im working in CS3 on the Mac and the tutorials ive found thus far havent worked...

Also if anyone knows of any good Transistions tutorials for CS3 that would be great too.

View 1 Replies

ActionScript 3.0 :: Button Plays MC Forward Then Reverse?

Feb 16, 2010

I have 4 buttons on the stage. Each button controls associated MCs. When the button is clicked, the MCs fade to invisible (alpha). Now I want them to fade back in when the buttons are clicked again. Is there a way to get them to play in reverse or would you suggest that I do all of the fading tweens dynamically instead of in the MCs timeline? By the way, there is a stop command at the end of each MC.

Code:
this.cloud_mc.cloud1_mc.stop();
this.cloud_mc.cloud2_mc.stop();
this.cloud_mc.cloud3_mc.stop();

[code]....

View 1 Replies

IDE :: Reverse Movie Clip When Clicked On Another Button?

Mar 2, 2006

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.

View 4 Replies

ActionScript 2.0 :: Creating Reverse And Forward Button For FLV Video

Aug 10, 2009

I done a flash presentation for that using a FLV video file. I link that in flash component (flv player) & with that video time I play text contains as per there time in moviclip then create a play/stop button & control the movie & video. Now I want to forward & rewind on button. How I do that.

View 1 Replies

ActionScript 2.0 :: One Button Play MovieClip Forward And Reverse?

Apr 21, 2010

I have a college project to hand in within 2 days. I'm making a website and what I want to achieve is a button that plays the movieclip (which is a piece of paper going onto the stage) and when you click it again it reverses that clip. I've tried loads of things and only got code that allows two buttons to reverse and go forward.

View 2 Replies

ActionScript 3.0 :: Movie Clip Button With Reverse Roll Off?

Mar 3, 2009

I'm trying to make the switch from AS2 to AS3 (with some difficulty I should add). I used to make a movie clip, create a roll over animation and apply this code to it"

onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
this.nextFrame();

[Code]....

How would i acheive this code with AS3, I haven't been able to find anything on the forums or googling that has actually worked.

View 7 Replies

ActionScript 2.0 :: Make The Same Button Reverse The Movie Clip When Clicked Again?

Aug 1, 2010

I have a button that when clicked starts a movie clip(a box enlarges from very tiny to large).That works fine. How do I make the same button reverse the movie clip when clicked again?

View 13 Replies

ActionScript 3.0 :: Same Button On Single Frame To Display/hide Movie Clip?

Jul 2, 2009

can a button on a single frame be coded to both display a movie clip on its first click and, after a second click, hide the movie clip?

View 3 Replies

ActionScript 2.0 :: Movie Clip Finish Playing When A Button Is Clicked And Then Go To The Frame Label Associated With The Button

Jun 2, 2011

Anyway what I need to do is have a movie clip finish playing when a button is clicked and then go to the frame label associated with the button. I hope I'm explaining myself ok. So if I had say 4 buttons Home Gallery About Contact If Contact is clicked then I want the Home page to play (Which is a fade out) and then go to Contact Page (which will fade in). Then If Gallery is clicked then I want Contact to fade out and then go to Gallery page and fade in.

View 6 Replies

ActionScript 3.0 :: Flash - Play Movie Clip With The Button Click Without Playing All The Movie Clips On The Main Timeline

Apr 26, 2009

I'm trying to make a flash website that has clickable buttons that will play different movie clips. But I dont know how to make it to just play the movie clip with the button you click without playing all the movie clips on the main timeline.

View 1 Replies

ActionScript 1/2 :: Playing Certain Parts Of Movie In Reverse?

Apr 27, 2009

I'm using Flash CS3 and ActionScript 2, and I'm wondering if there's a way of scripting certain parts of a movie to play in reverse when a button is pressed, I need it start reversing at the most recent, previous, frame and stop reversing 30 frames later.

View 3 Replies

ActionScript 3.0 :: Playing Frames Forwards And Reverse Via Button

Jul 9, 2009

I have a image gallery where you can click a foward button or a backwards one. I have each image on every 15th frame. So when the person clicks the next button it plays from 1-15 where it stops if they click back it will go to 15-1 etc. I got it working with the 2 images so I can go between them but when I add a third it won't do anything. I execpt it's something to do with removing the event listener, but I'm not sure.

Code:
stop();
var bRewind:Boolean = false;
this.back_mc.addEventListener(MouseEvent.CLICK, onMouseOver);
this.forward_mc.addEventListener(MouseEvent.CLICK, onMouseOut);
function fireEvent(event:Event):void{
[Code] .....

View 4 Replies

ActionScript 2.0 :: Reverse Playing Nested Movie Clips?

Jan 29, 2011

I have 3 movie clips mainclip(_root),one_mc(inside _root),two_mc(inside one_mc). and i want to play the animation in reverse direction so that it has to play two_mc in reverse direction first then one_mc ,and _root all in reverse.

View 2 Replies

ActionScript 3.0 :: Movieclip Reverse Playing - Mc Goes Reverse Until The Stop()

Jun 18, 2009

So I have this mc: this.slidingMenu it's a mc of a ring shaped menu, which turn around when 2 button get clicked. When the button on the right, mc goes forward until stop(), when the button on the left mc goes reverse until the stop(). In the first case i use gotoanplay, and everything goes fine. For the second I use prevFrame, like this:

[Code]....

View 3 Replies

ActionScript 3.0 :: Flash - Movie Clip To Start Playing Straight Away When Press The Fore Button

Dec 24, 2009

I have a interactive movie clip with buttons. The problem I have with my movie clip is that whilst the movie is playing and I click the forebtn, it stops the movie. Ideally I would like the movie clip to start playing straight away when I press the fore button.

[Code]..

View 4 Replies

ActionScript 1/2 :: Forward And Reverse Timeline?

Jun 6, 2008

im using flash CS3 with actionscript 2.0. what i want to create is a column for an online magazine, the column will display
a list of content, this list will be longer than it appears and have a "next" and "prev" buttons located at the bottom. i can set it up so than when next is clicked the content shifts and displays more, the problem is, what do i do about the "prev" button? i cant make the timeline play in reverse can i?

View 5 Replies

ActionScript 2.0 :: [Flash Cs3] Make A Button Called Textchange That Detects If The Movie Clip Meditext Is Playing?

Jan 16, 2008

I need to know how to make a button called Textchange that detects if the movie clip Meditext is playing, and if it is then largetext will start playing and Meditext will stop. But if it isn't playing, then nothing happens.

View 2 Replies

Getting A Movie Clip To Play In Reverse?

Sep 13, 2009

I have this script to play a movie clip. What do I write to get it play in reverse?
 
function fadeUp(event:MouseEvent):void {    buttonFadeOver_mc.play()

View 1 Replies

ActionScript 2.0 :: Movie Clip In Reverse

Dec 2, 2004

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.

View 2 Replies

ActionScript 2.0 :: Can Get Character To Rotate And Then Go Forward Or Reverse

May 22, 2002

Now that I have some basic collision detection in the game, I am wondering how i can get the character to rotate and then go forward or reverse using the arrow keys instead of just moving up, down, left, and right. I have tried putting a movie clip where pressing up and down makes it go up and down within the clip and then making the instance rotate if you press left and right, but that didn't work at all.

View 1 Replies

ActionScript 3.0 :: Get A Movie Clip To Play In Reverse?

Jun 9, 2010

I've created a slide presentation when you click the next button the playhead advances to the next frame plays a movie clip and stops (the stop() is at the end of the movie clip script). When you click the previous button I would like the playhead to move to the previous frame, play the movie clip in reverse and stop at the beginning of the clip.

View 25 Replies

ActionScript 2.0 :: Reverse Movie Clip On Rollout?

May 23, 2008

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.[code]...

View 9 Replies

ActionScript 2.0 :: Movie Clip Reverse Loop?

Jun 28, 2006

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.

[Code]...

View 9 Replies

ActionScript 3.0 :: Play A Movie Clip In Reverse?

Jun 2, 2008

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?

View 7 Replies

IDE :: Play Movie Clip In Reverse On Rollout?

Jan 12, 2009

I have movie clip buttons, that on rollover playthrough from frame 2 to 15, then rollout play the animation through til the end to return to the 1st frame. Is it possible to have the movieclip on rollout play through in reverse to the frame 1 and reverse the animation?

Because sometimes you may get to frame 8 or so, and it keeps playing even know you have already rolled out of the movieclip. Is there any code for this or an .fla file someone could give me.

View 1 Replies

ActionScript 2.0 :: Play A Movie Clip In Reverse?

Dec 2, 2004

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.

View 2 Replies

ActionScript 2.0 :: Forward And Backwards Movie Clip Play?

Apr 15, 2009

I want to create a movie clip to play forward when the mouse hovers over it but backwords when the mouse rolls off. This sounds easy enough but I having a few problems getting it to work.

I do not want to clip to jump to a position before changing direction.

I am having problems getting the clip to go backwards on the rolloff if the foward movement has not been completed.

I thought that I could just use script to send the clip forward by one frame on roll over (frame = frame+1), and opposite on roll off but it does not appear to work - i think it may be much more complicated than this.

View 1 Replies

ActionScript 3.0 :: Code To Loop A Movie Clip In Reverse?

Nov 4, 2009

I would like to loop a movie clip forward and reverse by selecting a forward or reverse button. I found the following actions script 3 code on Adobe however the code which plays the mc in reverse is not triggered by a button.[code]...

View 3 Replies







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