ActionScript 3.0 :: Play Backwards On Roll Over?
Jun 27, 2010
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();
[Code].....
View 1 Replies
Similar Posts:
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
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
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
Jun 29, 2010
I need to play a .mov file backwards in my Flex app.
View 2 Replies
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
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
Jan 20, 2005
Is it possible to play the playhead backwards, if i want to play an animation backwards?
View 2 Replies
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
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
Jul 4, 2003
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.
View 3 Replies
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
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
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
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 6 Replies
Nov 16, 2002
I'm not sure if this is possible or not, but could you use an AS to play the timeline backwards? Or play a MC backwards?
View 7 Replies
Jan 22, 2010
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?
View 4 Replies
Apr 27, 2009
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.
View 1 Replies
Oct 10, 2003
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.
[URL]
View 8 Replies
Aug 29, 2004
to play a movie clip backwards in AS? If yes.. how? ty
View 4 Replies
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.
View 1 Replies
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
Feb 10, 2012
I need to play forwards/backwards to target frame(or second) on my videoPlayer when I push a button. How would I do this?
Not sure how to tween the seek() property. I have TweenLite, which normally works great! But just not sure how to do it here..
View 1 Replies
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
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
Feb 3, 2009
I created a flash cs3 animation with about 6 layers.
I am going to place the .swf file into an html page I created with Dreamweaver. I want the swf file to only start playing when the user puts the mouse over it...and then stop when they take the mouse off. I know this needs to be done in the actionscript 3 in my flash document.
I thought it was something like this:
stop();
addEventListener(MouseEvent.MOUSE_OVER, playMovie);
function playMovie(event)
{
play();
}
View 9 Replies
Oct 17, 2009
I've never used Flash for anything more than simple animations, I know nothing about actionscript. But I a sequence of images that I've loaded into a movie clip in flash, I need it to play when you mouseover it, stop when you roll off of it.
View 8 Replies
Jan 25, 2010
OKay I have a button, "home_btn". I also have a movie clip, "movie1_mc."
What I want to do is when I roll over "home_btn," I want it to play "movie1_mc."
What is the action script code to make a roll over on a button play a movie.
*The movie is going to be a sub navigation list containing other buttons, which will fade in when you roll over the main button.
View 18 Replies
Aug 9, 2005
I want it the roll over of my button to play a ball bouncing. But the problem that I am having is when i rollover the button, and then roll back over the button quickly, it glitches the animation. Does anyone know how to fix this with an If/Then statement? Like make the rollover only activate when the Ball movieclip is only on Frame 1?
View 4 Replies
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