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


Similar Posts:


IDE :: Play A Movie Clip Backwards?

Mar 29, 2004

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
}

[Code].....

View 4 Replies

ActionScript 2.0 :: Play A Movie Clip Backwards?

Aug 29, 2004

to play a movie clip backwards in AS? If yes.. how? ty

View 4 Replies

Actionscript 3.0 :: Button To Play Movie Clip Backwards?

Apr 9, 2009

I've made the outline of a site in AS3, on one of the pages it has an area that shows some text and images. If you click on the right arrow, the current info flys off to the left and the new info comes on from the right. This is done by just having a movie clip with a load of stops and code that says "absorbentInfo.play();" so it plays forward to the next bit of info.What I would like is a way to make it play backwards to the previous stop, so that it could cycle indefinitely either way.Code for the next button below.with the previous button.

Code: Select allnextButtonAbsorbent.addEventListener(MouseEvent.ROLL_OVER, nextButtonAbsorbentOver);
nextButtonAbsorbent.addEventListener(MouseEvent.ROLL_OUT, nextButtonAbsorbentOut);

[code].....

View 4 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 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

ActionScript 2.0 :: Get Movie Clip To Play Forward When Move The Mouse In One Direction

Nov 15, 2004

[URL] i assume it's a series of frames with slightly different photos of the razor. when you play the movie it looks like it is spinning. my question is, how do they get the movie clip it to play forward when you move the mouse in one direction, and backward in the other? is it something like mouse over to the right and left (i'm bad with the direction code)??

right now i have a version that will play the movie clip (it's a button w/ only a hotspot) on mouse over and it will stop when the mouse os off the hotspot, but i can't get it to work like the headblade example. because i don't know the right code to play forward and back etc on mouse moves.

View 2 Replies

ActionScript 1/2 :: Play My Movie Backwards?

Nov 15, 2011

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

View 4 Replies

ActionScript 2.0 :: Play A Movie Backwards?

Aug 20, 2002

is there any way to play a movie backwards? it may sound wierd, but i really want to do it. any actionscript actions that can do this?

View 9 Replies

ActionScript 2.0 :: Can Add At End Of Movie To Play It Backwards?

Apr 30, 2004

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.

View 2 Replies

ActionScript 3.0 :: Car Will Go Forward But Not Backwards

Mar 16, 2011

Heres the code for my car to accelerate but how do I make one for reverse when the down key is pressed? I've tried all sorts but it is just not working properly.
ActionScript Code:
//When up key is pressed...
if (keyUpPressed) {
car.y -= ((90-carRotation)/90)*increment;
if (((car.rotation > 90)&&(car.rotation < 180))||((car.rotation < -90)&&(car.rotation > -180))) {
car.x += posNeg * (((((1-(carRotation/360))*360)-180)/90)*increment);
[Code] .....

View 2 Replies

ActionScript 2.0 :: Playing Movie Clip Backwards

Aug 23, 2007

I have this movie clip that is a vertical menu. the menu has a left and right button on either side and several small thumbnails inside. when you click on the right arrow, the animation plays, which just slides the thumbs along using a tween. I'm trying to get the left button to play the reverse of the animation.

this is the swf here to have a look. i hope you get the idea of what I'm trying to do.

I've been looking for a tutorial on how to do this through action script, but haven't found it yet. how can i do this so it's more efficient or through action script 2.0?

I did do the scroll tutorial before, but I would like it to go from one thumb to the next one at a time. You can also see that the animation I'm doing now is causing the left arrow to play each time.

View 3 Replies

ActionScript 3.0 :: Playing Movie Clip Backwards On Mouse Out?

Feb 16, 2009

I'm trying to figure out how to play my movie on a mouse over on a button, and then reverse it on mouse out, and I can't make it work.

Code:
function forward(event:MouseEvent):void
{
gotoAndStop(2);

[Code]....

View 1 Replies

ActionScript 2.0 :: Control A Movie Clip With A Backwards And Forwards Button?

Jun 28, 2010

I am looking to control a movie clip with a backwards and forwards button.

I need the clip to stop at every 5 second increment both backwards and forwards. my movie clip is 25 seconds long.

I have found script for playing a movie in reverse

I have basic knowledge of action script and have access to flash cs5 so could work with as2 or 3.

View 5 Replies

ActionScript 3.0 :: Control A Movie Clip With A Backwards And Forwards Button?

Jun 28, 2010

I am looking to control a movie clip with a backwards and forwards button. I need the clip to stop at every 5 second increment both backwards and forwards. my movie clip is 25 seconds long.

I have found script for playing a movie in reverse and have tried to change this so it will stop in the above points instead of playing to the beginning or end, but my knowledge in as3 is very limited.

Do i need to put some script that plays with percentage?

View 1 Replies

Actionscript 3 :: Flash Slide Show With Timer Object And The Option To Go Forward Or Backwards?

May 2, 2011

I am new to using Flash, but with some helpful YouTube tutorials and various Google searches, I was able to create a slide show that automatically transitions to the next after 6 seconds. I also thought it would be neat if I could give users the ability to go back or forward or jump specifically to a certain slide. But my problem is that after I click a button, the timer seems to be off.

[Code]...

View 1 Replies

ActionScript 2.0 :: Menu - Button Animates Forward When Rollover - Backwards When Roll Off But Not From The Last Frame

Jan 20, 2004

You'll find an example at: [URL] The submenu from company or expertise button animates forward when I roll over, backwards when I roll off but not from the last frame. It play's backwards from the frame I roll off.

View 4 Replies

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

ActionScript 3.0 :: Flash - Movie Clip To Play Unless The Person's Mouse Curser Is On The Movie Clip For More Than A Second

Jun 24, 2010

I am pretty new to ActionScript 3 and Flash. I don't want my movie clip to play unless the person's mouse curser is on the movie clip for more than a second. If the person just runs their curser over the movie clips really quickly, then it should do nothing. It must be more than a second. How do I code that?

[Code]...

View 17 Replies

ActionScript 2.0 :: Rollover Play Forward, Rollout Play Backward?

Jul 29, 2008

simple one this, or so i thought! basically, i want a mc to play from start to finish (11 frames) upon rollover and upon rollout i want it to play backwards to the first frame. Accurately.

ActionScript Code:
on (rollOver) {
if (activ.currentFrame <= 11)
{

[Code]....

Currently i JUST goes to the next frame. So i need something like currentFrame +1 or something?

View 7 Replies

Actionscript 2.0 :: Movie Clip Play, Stop And Play On Mouse Event?

Sep 1, 2010

I want a movie clip (let's call it homecontent_MC) with 100 frames play to frame 80 and stop.Then when someone clicks a button on the navigation bar (home, about, services, contact, etc...) homecontent_MC would then begin playing from it's position (frame 80) til it reaches 100, at which point it wouldn't be on screen, and the movie clip that corresponds to the navigation button press (say services_MC...) would start from frame 1 and continue til it stops at it's frame 80...

View 7 Replies

ActionScript 2.0 :: Image Viewer - Crank Clockwise To Scroll Images Forward And Counterclockwise To Scroll Images Backwards

Apr 4, 2004

here is some code for a rotating crank that controls an image gallery. refer to the "image viewer stops?" thread in the flash mx forum (sorry don't know how to link to a forum yet!) for more info. attached is the fla. i want to be able to crank clockwise to scroll images forward and counterclockwise to scroll images backwards. If i keep cranking, i want the images to continue to change, if i stop cranking, i want it to stp on that image. it doesn't sem tooooo hard, i'm just numb from tryig to figure it out.

[Code]...

View 6 Replies

ActionScript 3.0 :: MC To Loop That Is Inside A MC - Play Head Of A Movie Clip To Return To A Certain Frame Of That Clip

Nov 2, 2010

I would like play head of a movie clip to return to a certain frame of that clip so a MC inside it would loop. I now have: stop(); as the action.

View 2 Replies

ActionScript 3.0 :: Play An MC Backwards With FLV Content

Nov 17, 2010

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) {

[Code].....

View 1 Replies

Flex :: Play A Video Backwards In AIR?

Jun 29, 2010

I need to play a .mov file backwards in my Flex app.

View 2 Replies

ActionScript 3.0 :: Play Mc / Video Backwards?

May 10, 2010

I have a video by frames in the timeline on the stage, and i want it to play backwards when i press the button.

i found this code on this forum and it works really good, but i need it to stop on certain frames (127, 177) how do i do that?[code]...

View 0 Replies

ActionScript 2.0 :: Play MC Backwards Onrollover?

Oct 5, 2004

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.

View 7 Replies

ActionScript 2.0 :: Play An Animation Backwards?

Jan 20, 2005

Is it possible to play the playhead backwards, if i want to play an animation backwards?

View 2 Replies

ActionScript 2.0 :: How To Play Timeline Backwards

Jan 29, 2005

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.

View 1 Replies

ActionScript 2.0 :: Play Mc Backwards When Release?

Mar 12, 2007

I have a mask in a movieclip and I want it to play backwards when I push the buttons. I want the organic stuff to mask backwards. [URL]

View 5 Replies







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