ActionScript 3.0 :: Rewind And Play Mc?

Sep 3, 2009

I have a very simple animation in a movieclip (witch is placed on the stage) has about 300 frames.i also have for and back buttons on the stage. now i need to setup functions for the back button. to play my mc backwards and if its on the first frame it should got to .totalFrames and play backwards. i think i can use .play() for the for button.

View 7 Replies


Similar Posts:


CS3 - Play/Rewind Mc With Mouse Move Top/bottom AS2

Nov 2, 2010

i want to make a movieclip play when i move the mouse up and rewind when i move to the down, and when i don't move to continue playing or rewinding.
I have a code but it works only when i move the mouse up after half of the scene.

Actionscript Code:
this.onEnterFrame = function(){ if (action == "roll") { this.gotoAndStop (_currentframe + 1); }else if (action == "sstop") { this.gotoAndStop (_currentframe); }else if (action == "rew") { this.gotoAndStop(_currentframe - 1);

[Code].....

I want to follow somehow the mouse, when i move mouse up even a bit to change direction, now it changes direction only when i go after the half of scene, as in here [URL]

View 2 Replies

ActionScript 2.0 :: FLV Play And Rewind Buttons Not Working

Jul 28, 2010

My buttons are not working and I dont get it why. They should control an actionscript contolled FLV. There is an invisible button, which controls the pop up flv contorler bar. This bar mc contains the FLV video player controller buttons (play,rewind). Somehow this buttons are not working inside the bar.

Here is the code:
nc.connect (null);
var ns: NetStream = new NetStream(nc);
myVideo.attachVideo(ns);
ns.play("No More Oil Platforms.flv");
this.ControllerAnime_mc.Bar_mc.Play_mc.onPress = function() {
[Code] .....

View 2 Replies

ActionScript 2.0 :: Rewind / Play Frames Backwards?

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

ActionScript 2.0 :: Play And Rewind Movie Clip Button?

Oct 2, 2009

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.

View 3 Replies

ActionScript 3.0 :: Rollover Play Video Then Rewind Literally?

May 22, 2011

I have been asked to use a lady who stays still but then when you rollover a button her arms moves to that button, I have looked everywhere for some answers but just can't find a single example of one.

Sounds so simple, but I have been trying to sort this for ages and just can't make it work properly

View 3 Replies

ActionScript 2.0 :: Rewind Or Reverse Back To The Original And Play Over + Over Again?

Dec 20, 2007

Code:
onClipEvent(load) {
this.rotateTo(2,2,"easeinoutbounce",20);
}

i want to rewind or reverse back to the original and play over + over again....?

View 2 Replies

ActionScript 2.0 :: Make Audio & Video Rewind & Play Together

Mar 10, 2008

I am fairly new to Actionscripting and brand new to this forum. I hate to start out desperate but I am. Let me set the stage: I created a 7 scene swf in CS3 Actionscript 2.0 and have integrated (under excruciating trials) a voiceover tract (mp3) that is perfectly timed. Now, I have been asked to put in controls so that viewers/listeners can STOP / REWIND / PLAY the swf. After numerous trys I finally got the following script to play the audio with the video:

[Code]....

View 1 Replies

ActionScript 1/2 :: Functions - Rewind / Play An Animation Depending On The Rollover State

Jan 16, 2011

below is some code i am using to rewind / play an animaion depending on the rollover state. only ting is i would like to have it so that i could do something like:

playFrames(homeBtn)...

this way i can use the same function over and over but i am not sure how to write this. i think its someting like function playFrames(obj); and then you do something with this...

[Code]...

View 3 Replies

Flex SWF Accepting Play Or Rewind Command From The Flash Player (Projector)

May 22, 2011

I'm trying to make my Flex SWF act like a Flash movie SWF so that when the user issues the Play command in the FLash Player it can trigger an event in my Flex SWF file. I'm not sure what event this would hook into or if this is possible with Flex.

View 1 Replies

ActionScript 3.0 :: Control PrevFrame On The Timeline With A Play / Rewind Type Motion

May 27, 2011

I am having a fair amount of trouble trying to control prevFrame on the timeline, with a play/rewind type motion. Basically, what I want to do is navigate between 3 keyframes on the timeline with 'next' and 'prev' buttons controlling it. I have no problem navigating forward, but when the previous button is pressed on the last keyframe, it just rewinds to the first keyframe. I have stop(); commands on each keyframe, but it seems to skip over the second keyframe when rewinding. The buttons are present throughout the length of the timeline. Here are my actions for the first frame;

[Code]...

View 3 Replies

ActionScript 2.0 :: OnRollout Cancels OnRelease - Play An Mc Timeline On Rollover And Rewind The Mc On Rollout?

Jul 7, 2010

i have some script that i am using to play an mc timeline on rollover and rewind the mc on rollout, but my problem is that i want to add an onRelease action that takes the mc to an specific frame within the mc. thing is that the onRollout action cancels out the onRelease action and rewinds the mc regardless. this is the script that i have on the first frame of the mc

[Code]...

View 4 Replies

ActionScript 3.0 :: Create Play, Stop, Rewind And Fast Forward Buttons For An Animation?

May 4, 2011

I was looking for a way to create play, stop, rewind and fast forward buttons for an animation I created in Flash. I found a nice description at republicofcode.com/tutorials/flash/controller_bc/, but after trying the code for stop and play I get the error: Access of possibly undefined property onRelease through a reference with static fl.controls:button.

stop();
play_btn.onRelease=function (){
play();
}

[code]....

View 6 Replies

ActionScript 2.0 :: Adding Pause,Play,FastForward,Rewind Controls To A Swf File Via An External?

Mar 25, 2012

I will try to be as clear as I can. I have an existing swf file that I need to add Play,Pause, FF and Rewind to but I need the controls to be part of the swf file and not as a video player.

I am loading an external swf file that has all of the controls on it via this code:

[Code]...

I am doing this so I can rollover the viewing window and have it appear. I cannot get any code to work to control the timeline (which is broken down into sections with individual MC's in each section.

What I am looking for is the code to apply to the buttons on the external controller to control the playing of the movie.

View 0 Replies

ActionScript 2.0 :: Adding Pause,Play,FastForward,Rewind Controls To A Swf File Via A Loaded Swf File?

Jan 19, 2012

I will try to be as clear as I can. I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.I am loading an external swf file that has all of the controls on it via this code:

// Set up the Mouse to use a listener
var mouseListener = new Object();
Mouse.addListener(mouseListener);

[code].....

View 1 Replies

ActionScript 2.0 :: Adding Pause,Play,FastForward,Rewind Controls To A Swf File Via A Loaded Swf File

Mar 25, 2012

I have an existing swf file that I want to add Play,Pause, FF and Rewind via an externally loaded swf file that has the controls contained in it.

I am loading an external swf file that has all of the controls on it via this code:

// Set up the Mouse to use a listener
var mouseListener = new Object();
Mouse.addListener(mouseListener);

[Code]....

I am doing this so I can rollover the viewing window and have it appear. I cannot get any code to work to control the timeline (which is broken down into sections with individual MC's in each section.

What I am looking for is the code to apply to the buttons on the external swf file that has the controls to control the playing of the movie.

View 5 Replies

ActionScript 2.0 :: Rewind And Fast Forward Buttons Start To Mess Up When Fast Forward Or Rewind Past The Current Scene?

Apr 1, 2009

Problem is that my rewind and fast forward buttons do not work properly in the sense that they start to mess up when you fast forward or rewind past the current scene. It seems to just skip through the whole movie and totally mess up the animation.the code for the controls is on a single layer and reads as the following:

stop();
play_btn.onRelease = function (){
play();

[code].....

View 4 Replies

ActionScript 2.0 :: Click To Play Then Click To Rewind?

Apr 14, 2011

I'm having some problems with the code below. It may be something small that I am just not seeing. I basically have a drop down window and a button named btn1. The first click makes it pull down on the main stage, the second returns it to frame #1 by rewinding the movie. Well... It only works once, I need it to work multiple times, so I am missing something.

ActionScript Code:
on (release){
if (this._currentframe == 1) {
this.play();

[Code]...

View 1 Replies

ActionScript 2.0 :: Tell Flv To Rewind?

Feb 23, 2006

Just want it to go back to the start.....how do I do it? What is the syntax?

View 2 Replies

ActionScript 2.0 :: Tell My Flv To Rewind?

Feb 23, 2006

I have an flv on the stage...with an instance name.

This is the code I'm using to tell it to pause. Which is simple.

View 1 Replies

ActionScript 3.0 :: How To Rewind A Tween

Mar 10, 2010

how to rewind a tween. but I dont want it to just snap back to the beiginning. I want it to yoyo back to the beingining without actually yoyoing many times.this is the code I have which make the beginning motion I want:

Code:
public function imageSelectR(e:MouseEvent):void {
myTween = new Tween(imageLoaderHost, "z", Regular.easeInOut, 0, -100, 1, true);
myTween.addEventListener(TweenEvent.MOTION_FINISH, imageSelectL);

[code]....

View 5 Replies

ActionScript 1/2 :: Forward And Rewind With Video?

Apr 29, 2009

I am building a video player and would like to have a forward and rewind button. I was looking at tutorials and it seems like none of them have this. Is there a reason for this?

View 5 Replies

ActionScript 3.0 :: Controlling Loaded Swf Rewind?

Aug 2, 2009

I need to bring the playhead to the begining (rewind) each time the onsound button is clicked. But a loadimage function was used to load the swf.

View 10 Replies

ActionScript 2.0 :: Rewind To Final Frame

Jan 28, 2009

I have a .fla that has a movieclip in it with an frame by frame animation of a rotating pyramid.The script that I have, when the user drags the mouse horizontally for the right, the animations play, and for the left, it plays rewind. But when it is on frame 1 and I try to go back, it stops![code]How could I make the first frame go to the final frame when I drag the mouse for the left?

View 2 Replies

ActionScript 3.0 :: Make A Rewind Function?

Aug 20, 2009

I'm attempting to make a rewind function, but have no idea where to start.

I have a movie that spans over 60 frames and rotates. I would like the user to be able to click a button and make the movie rewind and tween to go to that frame.

For example, if the movie is on frame 55 and the user clicks a button, I want to movie to tween backwards (frame 54, frame 53, frame 52, etc etc) until it gets to frame 45.

View 4 Replies

Any Way To Control Timeline Forward And Rewind?

Jul 2, 2008

What I need its a way to control my timeline forward and rewind. To make it easy to explain I will make a example: Imagine that you have a movie (cars crossing a street - with trucks and buses too). Sometimes there is just cars on the street, sometimes just trucks. I should paste this movie into my timeline(like image sequence), in the background of my application. In other layer will be informations, in this example, about trucks and cars. Till this point ok. But I need to make the movie go to the frame that I choose to be the image of the movie that only have cars.

Okay ... this is in frame 15 of the movie. Then I click a button and go to show trucks info. I click and go to frame 30... at this point ok too. But now I click again to see about cars. Its in frame 15 and I don't want to "JUMP" (like gotoandstop)... I want the movie rewinds (in the speed that it plays) till I get frame 15. How do I control the timeline like this? (There will be at least 6 points in this movie that i want to stop by. And this movie begins stopped.)

View 14 Replies

Actionscript 3.0 :: How To Rewind A Movie Only Ten Frames

Jun 7, 2009

I have a movieclip that is basically a scroll through of several pages. Every ten frames is another page. I have a next button and a previous button. The next button plays the movie for ten seconds and I would like for the previous button to rewind the clip for ten seconds.This is what I have right now:

previous_r1.addEventListener(MouseEvent.CLICK,prev iousr1);
function previousr1(event:MouseEvent):void {
movieclip1.addEventListener(Event.ENTER_FRAME,rewi nd);

[code].....

View 6 Replies

ActionScript 2.0 :: Rewind Transistions Instead Of Playin Out?

Apr 6, 2004

ive search for some tuts on transistionsi found this [Click Here] but i was wondering if instead of making a complete PLAYOUT part i could just have a rewind frames option!!o what i mean is!!nstead of having frame

1-10 - play in
11- stop
12-22 - play out

[code]....

View 11 Replies

ActionScript 2.0 :: Rewind The Timeline With A Button?

Sep 26, 2006

I am doing a postcard flip and would like to rewind my timeline when a button is released. I tried to modify the complexbutton but didn't really get the effect that I was after.

What I am trying to do 1) when the movie opens, I have an arrow to the right, what I want to happen is, when it is clicked, the movie plays and stops at the last frame, easy enough.

2)When the movie is on the last frame there is another button, and when that one is clicked, I want thee movie to reverse. It can't be that hard, can it?

[URL]

View 2 Replies

ActionScript 2.0 :: How To Rewind Main Timeline From MC

Nov 2, 2006

I have an external swf that I loaded into level 5. In this swf I have a MC (a button in the mc) that I want onPress or onRelease have the main timeline of the swf not the MC, rewind to frame 1 and then unload level 5.

For the life of me I can't fugure this out.

View 3 Replies







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