Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


Advertisements:










Actionscript 3.0 :: Button To Play Movie Clip Backwards?


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 (Posted: Thu Apr 09, 2009 1:56 pm)

Sponsored Links:

Related Forum Messages For Flash category:
IDE :: Play A Movie Clip Backwards?
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].....

Posted: March 29th, 2004

View 4 Replies!   View Related
ActionScript 2.0 :: Play A Movie Clip Backwards?
to play a movie clip backwards in AS? If yes.. how? ty

Posted: August 29th, 2004

View 4 Replies!   View Related
ActionScript 2.0 :: Forward And Backwards Movie Clip Play?
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.

Posted: 04-15-2009, 08:17 AM

View 1 Replies!   View Related
ActionScript 2.0 :: Telling Main Timeline To Play Backwards From Movie Clip
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]

Posted: April 4th, 2007

View 1 Replies!   View Related
ActionScript 2.0 :: Control A Movie Clip With A Backwards And Forwards Button?
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.

Posted: 06-28-2010, 05:43 AM

View 5 Replies!   View Related
ActionScript 3.0 :: Control A Movie Clip With A Backwards And Forwards Button?
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?

Posted: 06-28-2010, 11:22 AM

View 1 Replies!   View Related
ActionScript 1/2 :: Play My Movie Backwards?
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

Posted: Nov 15, 2011 4:58 PM

View 4 Replies!   View Related
ActionScript 2.0 :: Play A Movie Backwards?
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?

Posted: August 20th, 2002

View 9 Replies!   View Related
ActionScript 2.0 :: Can Add At End Of Movie To Play It Backwards?
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.

Posted: April 30th, 2004

View 2 Replies!   View Related
ActionScript 2.0 :: Playing Movie Clip Backwards
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.

Posted: August 23rd, 2007

View 3 Replies!   View Related
ActionScript 3.0 :: Playing Movie Clip Backwards On Mouse Out?
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]....

Posted: 02-16-2009, 10:23 AM

View 1 Replies!   View Related
ActionScript 3.0 :: Flash - Play Movie Clip With The Button Click Without Playing All The Movie Clips On The Main Timeline
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.

Posted: Apr 26, 2009 9:25 PM

View 1 Replies!   View Related
Get A Movie Clip To Play When A Button Is Clicked ?
On looking into buttons, I understand that to get a movie clip to play when a button is clicked you simply place the movie clip on the buttons 'hit' state. Having done this it does not work? Have I read wrong? Also the movie clip has a background the full size of the stage area. So when I attach this to the button, the button changes size to the same size as the movie? (i.e. whole stage area). How do I keep the button in it's original size while still playing the movie clip with large background?

Posted: 04-12-2009, 02:21 PM

View 2 Replies!   View Related
ActionScript 2.0 :: Play A Movie Clip On Button?
I have a simulation of a 3d rotation in a movie clip and what I want to do is on button press:

1) check to see if the movie clip is on a certain frame and if it is do nothing

2) if it is less than the 16th frame reverse the movie clip and play until it gets to a certain frame

3 if it is more than the 16th frame play until it gets to a certain frame

Posted: 06-12-2010, 09:12 PM

View 13 Replies!   View Related
ActionScript 3.0 :: Play A Movie Clip With A Button?
i am tryin to play a movie clip with a button and my code is like this..

stop();
function onSouthClick(evt:MouseEvent):void {
gotoAndPlay("southsouth");

[Code]....

Posted: 02-14-2009, 04:02 PM

View 1 Replies!   View Related
ActionScript 2.0 :: Play Movie Clip From A Button?
I have a button which I have made into a button symbol.

I have created a movie clip in which a panel fades in and out.

I would like to play the movie clip when the button is hovered over.

I have the below entered on the button but not sure what to put next to make the clip play.[code]...

Posted: 11-18-2009, 10:50 AM

View 3 Replies!   View Related
ActionScript 2.0 :: Play And Rewind Movie Clip Button?
I made a vertical list of thumbnails and converted them into a movie clip. There is a total of 20 thumbnails. I masked the movie clips so that it only shows 5 thumbnails at a time. I created keyframes at every point in the clip that 5 thumbnails are shown so that I can pause it.I was trying to use this code to scroll down from the first set of 5 to the second:

on (release) {
design_thumbnails.gotoAndPlay (20)
}

When I click the button nothing happens I'd also like to know how to rewind the movie so that when I press the up arrow it goes up to the previous set of 5.

Here's what it looks like:I made a vertical list of thumbnails and converted them into a movie clip. There is a total of 20 thumbnails. I masked the movie clips so that it only shows 5 thumbnails at a time. I created keyframes at every point in the clip that 5 thumbnails are shown so that I can pause it.I was trying to use this code to scroll down from the first set of 5 to the second:

on (release) {
design_thumbnails.gotoAndPlay (20)
}

When I click the button nothing happens I'd also like to know how to rewind the movie so that when I press the up arrow it goes up to the previous set of 5.

Posted: 10-02-2009, 03:13 PM

View 3 Replies!   View Related
ActionScript 3.0 :: Play Movie Clip On Button Click?
I have been using flash for a while, but AS3 is a whole new world to me.

I simply want to have a movie (box1) to play when a button (btn1) is clicked.

NOTE: The button is within a movie clip (bulb1) which is within another movie clip (trees).

I tried this, but it just kept replaying the whole animation:

Code:

btn1.addEventListener (MouseEvent.CLICK, onClick);
function onClick( event:MouseEvent):void
{
box1.play();
}

Posted: 04-08-2010, 02:57 PM

View 15 Replies!   View Related
ActionScript 3.0 :: Click Button To Play Movie Clip?
I am working on a project that I have three movie clips animate onto the stage.I then have 3 buttons come up correlating with each movie clip.How do I script the buttons to play the movie clips?The movie clips are embeded FLV files just fyi.

Posted: 12-07-2010, 07:42 PM

View 4 Replies!   View Related
Make Movie Clip Play On The Over Stage As A Button?
I have a very simple fla i built, all i need is the hover "over" stage to play this tween. On the keyframe I made it a symbol, movie clip. In there all the tweens are set exactly. It seems if you wanted motion on a stage,you would just put that clip on the over stage. I uploaded the fla file: [URL]

Posted: Dec 23, 2009 1:59 PM

View 6 Replies!   View Related
ActionScript 3.0 :: Create A Play Button For Movie Clip?
Bit new to this and have been searching the adobe forums and google. I am trying to create a button that will play an imported MovieClip.I have a movie clip that I've imported into it's own layer (Layer1) Frame 1 I've given the MovieClip an instance name offoundationMovie.I've created a button and have that on its own layer(Layer2) above layer1, it is also in Frame 1.I've added a top (); action to layer2The video is not set to autoplay.I want the video to start playing when the viewer clicks the button. I know I've got to put some kind of event listener using AS3 in my timeline somewhere.I've found some code and I've been trying to work with it. I'm sure I've mutilated it beyond usability but this is what I've got.

stop ();
player.addEventListener(MouseEvent.CLICK,play);
function play(event:MouseEvent)

[code].....

Posted: Aug 16, 2010 7:57 PM

View 6 Replies!   View Related
Flash :: Play Movie Clip When Click On Button?
I working on the timeline and have some Actionscript 3 code (I have a actions layer on the timeline). I am not sure what the code is for clicking on a button(I made the buttons movie clips since I wanted to animate it) and it plays a movie clip.

Posted: Sep 16 11 at 22:28

View 2 Replies!   View Related
ActionScript 3.0 :: Play A Movie Clip By Clicking A Button
I have a button on the stage called 'play_btn' and a movieclip called 'movie_mc'. The movieclip has a stop on it's first fame so that it doesn't play on the main timeline. I want to use actionscript to have the movieclip play when the button is clicked.I know i need to do some kind of movie_mc.gotoAndPlay('2') on the button or something like that.

Posted: 11-20-2010, 02:04 AM

View 1 Replies!   View Related
ActionScript 3.0 :: Get A Movie Clip To Continually Play Using A Button?
I am using flash. I have a layer containing my movie clip animation. Another layer contains my 2 buttons and a 3rd layer contains my action script. Here is what I have managed to do- I got the stop and play buttons to work so when the movie plays I can click play and then click stop and the animation will stop and play as I ask. I added a stop(); command at the beginning of my script so that when the movie loads nothing plays until I click play. The problem is I would like to click play and allow the movie to continually play over and over even when it finishes. However I would like to keep the movie with my stop(); command so when it loads nothing plays until I ask it to.

what I can do so that when I click play my animated movie clip continues to loop again and again.

HTML Code:
stop();
start_btn.addEventListener(MouseEvent.CLICK, startCircle);
function startCircle(e:MouseEvent):void{

[Code].....

Posted: 02-21-2011, 10:13 PM

View 1 Replies!   View Related
Copyright 2005-08 www.BigResource.com, All rights reserved