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








Timeline Goes Forwards And Backwards But Easing Only On Previous Not On Next?


This file is driving me crazy...I got the timeline to go backwards and forwards with

function Movement() {
if (_root._currentframe > _root.mytarget){
prevFrame();
}else if (_root._currentframe < _root.mytarget){
nextFrame();
}else{
stop();
}
}
this.onEnterFrame= Movement;

and then on the MC at each stopping point

onClipEvent(enterFrame){
_x += (637.4 - _x)*0.06;
_y += (-252.1 - _y)*0.06;
}

It will ease on the 'previous' button but it skips the animation entirely on the 'next' button...just goes direct to the target...

Is there someone that could help me out??? I would really appreciate it!




FlashKit > Flash Help > Flash MX
Posted on: 08-05-2004, 02:52 PM


View Complete Forum Thread with Replies

Sponsored Links:

Timeline Goes Forwards And Backwards But Easing Only On Previous Not On Next?
This file is driving me crazy...I got the timeline to go backwards and forwards with

function Movement() {
if (_root._currentframe > _root.mytarget){
prevFrame();
}else if (_root._currentframe < _root.mytarget){
nextFrame();
}else{
stop();
}
}
this.onEnterFrame= Movement;

and then on the MC at each stopping point

onClipEvent(enterFrame){
_x += (637.4 - _x)*0.06;
_y += (-252.1 - _y)*0.06;
}

It will ease on the 'previous' button but it skips the animation entirely on the 'next' button...just goes direct to the target...

Is there someone that could help me out??? I would really appreciate it!

View Replies !    View Related
Timeline Control Scrolling Backwards And Forwards
have a look at this:
http://www.wilenkin.com/transformers...6_content.html

I'm building a flash animation and I want to have 'play' , 'stop' and 'a scroll so I can jump to any point of the movie' like on a winamp bar, real player or windows media player

View Replies !    View Related
[F8] GotoAndPlay Certain Frame In Timeline: Backwards And Forwards
I had the idea of a circular menu, and when the user clicks on a menu item, that one rotates to the top, and becomes highlighted (hopefully with easing). I've searched around here for reversing timelines, etc. but can only find ones that go to the next set frame.

How do I get it to skip past the menu items in between? For example if #1 is at the top and I click on #4, I want it to skip past #2 and #3.

I hope this makes some sort of sense to you guys 'n' gals. Many many thanks in advance for any answers or nudges in the right direction.

Here's a basic menu idea I had:

View Replies !    View Related
GotoAndPlay Certain Frame In Timeline: Backwards And Forwards
I had the idea of a circular menu, and when the user clicks on a menu item, that one rotates to the top, and becomes highlighted (hopefully with easing). I've searched around here for reversing timelines, etc. but can only find ones that go to the next set frame.

How do I get it to skip past the menu items in between? For example if #1 is at the top and I click on #4, I want it to skip past #2 and #3.

I hope this makes some sort of sense to you guys 'n' gals. Many many thanks in advance for any answers or nudges in the right direction.

Here's a basic menu idea I had:

View Replies !    View Related
Playing MC Backwards & Forwards
Let's say I've got a 50 frame long movieclip in level 2 and it is basically a movie which has stop-positions every tenth frame. Then I got my main movie in level 0 with 6 buttons. Now, depending on which button I press in level 0, my movie in level 2 should start playing. In fact when level 2 is stopped at frame 1 and I press the 2nd button in level 0, level 2 should start playing forward until it is at frame 10 and stop right there. But also, when level 2 is at frame 50 and I press the second button in level 0, level 2 should play backwards until it reaches frame 10 at stop again.

So frame 1 in level 2 must be reached by pressing button 1 in level 0;
frame 10 in level 2 must be reached by pressing button 2 in level 0;
frame 20 in level 2 must be reached by pressing button 3 in level 0; and so on...

This seems kind of difficult because sometimes the movie has to stop at a certain frame another time it has to pass it, and all that with the forwards and backwards ability.

Does someone know how to control something like this?

View Replies !    View Related
Forwards And Backwards Control
Hi

I can easyly control a MC to go one frame forwards every time i click on a button using "next frame" as an action for the button ... but is it possible to make the MC go backwards one frame a click ?

the action "previous frame" just switches between the two last visited frames ... hope u guys can help

Waark

View Replies !    View Related
Looping Forwards AND Backwards
I have a 10 second clip of some video that I'd like to loop, but not in the sense that it starts over after hitting the last frame. I want it to loop backwards -- so hits the last frame of the animation and then proceeds to move backwards till it hits the first frame and then starts over. Basically a continuous clip going forwards and backwards.

I've seen some actionscript that supposedly does this but I can't get it to work -- I'm not a motion graphics guy so pardon my ignorance but I figured you chaps would know better than me.

Thank you in advance for any help.

View Replies !    View Related
Help With Playing MC Forwards & Backwards
I have not used Flash or worked with actionscript for almost a year so I'm a bit rusty. I am trying to get 3 movieclips to trigger corresponding MCs below them to play forwards while hittest is true but stop and play bacwards once hittest is no longer true. All 3 MCs that trigger the 2nd group of MCs have their alpha set to "0" so the viewer won't even be aware of them.

My code works fine playing the MCs forwards but my code to stop & reverse the timeline isn't working.

I appreciate any help.

My code is as follows and my file is here:

PHP Code:



_root.onEnterFrame = function() {
    highlightSection(blueHotArea_mc, blueFade_mc);
    highlightSection(redButton_mc, redFade_mc);
    highlightSection(greenButton_mc, greenFade_mc);
};
function highlightSection(mc1:MovieClip, mc2:MovieClip) {
    if (mc1.hitTest(_xmouse, _ymouse, true)) {
        mc2.play();
        if (mc2._currentframe == mc2._totalframes) {
            mc2.stop();
        }
    } else if (mc2._currentframe>0) {
        mc2.stop();
        mc2.gotoAndStop(_currentframe-1);
    }


View Replies !    View Related
Rotating An Object Forwards And Backwards
Have created a hexagonal object and two buttons. I want to be able to press one button and have it rotate the object 60 degrees clockwise, press it again and have it rotate a further 60 degrees and so on until its rotated a full 360. I would like the other button to do the same but in reverse, turn it anticlockwise. Am new to flash and any help would be greatly appreciated.

View Replies !    View Related
Button Effects Forwards And Backwards
Something i've been trying to do but for some reason won't work, i've tried the tutorial for this and couldn't get it to work either, all i want to do is to have a button rollover effect, then when you rollout it does the exact same thing, but backwards. Can anyone help? thanks in advance

Jason

View Replies !    View Related
Forwards Backwards Kinda Problem
Hi,

I'm trying to make a menu for a university project with backwards forwards buttons in. I have made the mc with a hidden button inside it so when you rollover the animation plays one way and then when you roll out, the animation plays backwards. So far no problem.

I also made another blue mc with a button inside which moves from the left side of the screen to the right side when you click it. If you click it again it then moves back to the left side of the screen.

The problem I'm having is that I want to be able to combine both of these animations together. The swf can be seen at

http://www10.brinkster.com/emcoward/flash.html

When you rollover the "about" button I want it to move to the right to show the green square underneath. That bit works fine. However when you click the red "about" button I want it to detach from the green square and move to the other side of the screen and stop there. As the lower blue square does. I then want to be able to click the red button again or click another button and the red "about" button then moves back to join with the green square.

I've tried putting the blue mc inside the about mc but then when you rollover the about button it plays the whole animation and general messes up!
Does anyone have any suggestion? Or maybe a better way of doing this. I thought about attaching the blue square mc using attachmovie, but I couldn't get this to work how I wanted it to.

Thanks
Leroy

View Replies !    View Related
How To Scroll The Playhead Forwards And Backwards
I want to scroll a movie clips playhead forward and reverse like on macromedia.com's main page. I have some 3d elements that are rotating 360 degrees and I want to control the rotating. I have seen this done on other pages like Nikonusa.com when they display their camera.

View Replies !    View Related
Controlling MC Playback (forwards/backwards)
Hello all! I'm Mr. Grifter and I'm new around these parts I'm also new to AS as it applies to playback control of a movieclip so here I am.

I guess I should start explaining the concept. In my file I have a movieclip (named FloorMovie) which animates a graphic of a building (over 2000px in height). At frame 1 the building's bottom floor is centered at the registration mark. At frame 17 a keyframe is create and the building's second floor is centered at the registration mark and so on every 17 frames for each floor.

Then I drop in motion tweens in the spaces between keyframes.

In the scene, I have buttons. The concept should be clear now: hit a button and the movieclips animates forward or backward and stops at the desired floor.

I have AS in the first and only frame of the scene and it contains the following:

Code:
elevSound = new Sound();
elevSound.setVolume(25);
function stepForward(MCFrame) {
if (FloorMovie._currentframe == (MCFrame-1)) {
stopAllSounds();
elevSound.attachSound("stop_elevator");
elevSound.start(0, 1);
FloorMovie.stop();
clearInterval(step_timer);
} else {
FloorMovie.gotoAndStop(FloorMovie._currentframe+1);
}
}
function stepBackward(MCFrame) {
if (FloorMovie._currentframe == (MCFrame+1)) {
stopAllSounds();
elevSound.attachSound("stop_elevator");
elevSound.start(0, 1);
FloorMovie.stop();
clearInterval(step_timer);
} else {
FloorMovie.gotoAndStop(FloorMovie._currentframe-1);
}
}
function goToFloor(TargetMCFrame) {
elevSound.attachSound("start_elevator");
elevSound.start(0, 1);
if (FloorMovie._currentframe<TargetMCFrame) {
var step_timer = setInterval(stepForward(TargetMCFrame), 30);
}
if (FloorMovie._currentframe>TargetMCFrame) {
var step_timer = setInterval(stepBackward(TargetMCFrame), 30);
}
}
... and in each button I have code similar to:

Code:
on (release) {
goToFloor(17);
}
where the 17 is the frame at which one of the floors is centered on-stage.

The funny thing is similar code worked when I had it stuffed into each button. It stopped working once I tried consolidating the functions and simplifying everything

Any assistance would be appreciated!

Thanks in advance

View Replies !    View Related
Buttons That Animate Forwards & Backwards
Did a tutorial today on this site under the same name. Required making a movie clip with a transparent "hit" area in the top layer. (A graphic symbol with the opacity set to 0)

You putt this movie clip on to the stage and then write the following code:

onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.nextFrame();
} else {
this.prevFrame();
}

}

Animation works great. My problem is that I only want a very small hit area. The movie that animates as a result of the roll over covers a large portion of the screen.

The hit area then becomes the width and height of the entire movie clip. The backwards animation won't play unless the user rolls off every element contained in that movie clip.

This is a problem, because the buttons underneath this movie clip still remain active. So, if someone was to roll over them, they animate underneath the movie clip that is still open.

Basically I want the hit area to be contained to the original designated space. (The hit area created in the movie clip, as stated above.)

How do I do that?
-Nicole

View Replies !    View Related
Scrolling Movieclips Backwards And Forwards
Hi, I'm trying to make a movieclip that is essentially a bunch of pictures lined up next to each other, and only a portion of that movieclip is seen at any given time (via mask). I have arrows on either end that, onRollOver, I want to tell the movieclip to move either forward or backwards.

The problem I am having is that I can imagine there being to solutions to this problem. One is by having in the timeline of the movieclip the motion of the pictures from one end to the other end, and when the mouse rolls over the forward arrow, it tells the movieclip to play. The only problem is that if I want the back arrow to make the clip move the other direction, I would have to play the timeline in reverse, which I don't think is possible.

The other possible way to do this would be to change the _x value of the mc when the mouse is over the arrow. But the onRollOver call only goes once, so that if I made a function and told it to move the mc._x over 5 pixels onRollOver, it would perform that action only once when the mouse rolls over the arrow, but would not continue to scroll the mc.

Any ideas?

Thanks,

Max

View Replies !    View Related
Animate Forwards Then Backwards Loop?
Hi, I'm really struggling with this and I'd appreciate it if anyone would care to look.

All I want is for the frames in my animation to animate forward then backwards then forwards etc etc in an infinate loop.

I understand that animating backwards is less than easy , but can be done with actionscript. I've read a lot of help files on this but I'm still struggling.

I've uploaded my animation as is (including duff actionscript - my earlier attempt) and I'd really appreciate it if anyone can help and take a look.

Forgot to name the instance of my controller movieclip.

View Replies !    View Related
Controlled Scrolls: Certain Points : Forwards,backwards
Is there anyone who knows how sites, such as Barneys.com,designed by Kioken, can get the images
(movie clips) in the background to shift(left to right) and make it play, reverse direction smoothly? Any advice or scripts would help.

If the question is confusing, try going to the site:
barneys.com and you'll see what I am trying to ask. Look for the screen going from left to right smoothly.

Thanks.

View Replies !    View Related
Have ONE Button Play Movie Backwards And Forwards
Right now I have a set of buttons that when you press them, will load an swf into a blank movie clip on the stage called "mtClip".

I want the clip to play as normal when a button is first pressed, then when another button is pressed the move clip will play backwards and then unload.

So far I have this code on the buttons which works, but I really want to see the animation go backwards not just be unloaded.

on(release){

_root.mtClip.unloadMovie();
_root.mtClip.loadMovie("test.swf");
}

I've plowed through dozens of tutorials but nothing covers this issue exactly.

Can anyone help?

Thanks

View Replies !    View Related
Creating An Animation That Goes Forwards Or Backwards Depending On Var?
Hi guys

I would like my animation on the menu_mc.brach_mc timeline to play frame by frame tjecking if it should go forwards or backwards.

When mouse is over it should play forwards, and when the mouse is out it should play from its current position on that timeline and go backwards frame by frame to that timelines frame 1.

How is this done??? I tried the below on my own, but no luck there...

My sample AS:

ActionScript Code:
var back:Boolean = false;
var forward:Boolean = true;
//
menu_mc.branch_mc.onRollOver = goBack(forward);
menu_mc.branch_mc.onRollOut = goBack(back);

function goBack(isOver:Boolean){
    mc = menu_mc.branch_mc;

    this.onEnterFrame = function(){
        if(isOver){
            mc.gotoAndPlay(this._currentframe+1);
        } else {
            mc.gotoAndPlay(this._currentframe-1);
        }
    }
}

Please give a hint here - thnx

View Replies !    View Related
Playing Movie Clip Both Forwards And Backwards.
heyas, im really new to as3 and am trying to create a picture gallery for my website. i;ve searched high and low as well as tried a lot of things on my own and can't get this to work. what i want it to do is this: i have 7 pictures that have 5 frames of movement (tweened) each, when you click the right button it goes right when you click the left button it goes left stopping at each picture and waiting for the next mouse click. the problem is that i havent found a way to do this in as2 as the solutions i've found ignore the stop(); actions in the time line as well as any other frame actions. (the ones i've seen use nextFrame, prevFrame).

i got pretty close to making it work in as3. I had


Code:
function rightarrow (event:MouseEvent):void {
MC_SceneSelect.play();
}
which does exactly what i want it to on the forward. it was extremely close after duplicating the frames, offsetting them, reversing them, and
using if else conditionals, variables that i had to enter on the frame and some other ugly things like adding and subtracting from the returned variables, but since im going to be using this site-wide i would rather it be portable and a tiny bit more elegant.

other solutions i've tried are a for loop and while loop where the nextFrame runs 5 times, but the animation does not show up in the finished product, instead the loop runs without showing the process, and only displays the end result. I was wondering if this needed something to refresh the view after each iteration of the while loop? below is the function i had:


Code:
function rightarrow (event:MouseEvent):void {
for (i=0; i<5; i++) {
MC_SceneSelect.nextFrame();}
}
I was also curious about passing the currentFrame from a movie clip to the main level function. for example, my MC_SceneSelect.currentFrame returns the frame of the stage timeline, not the current frame of the movie clip. i was wondering if there was something else i needed to do to get that to register correctly.

my last idea was making the frame pass the stop action to the original next frame/prev frame solution, maybe through an eventhandler of some sort but im kind of lost here, so that the next frame function recognizes the frame actions such as stop(); or gotoAndPlay(); etc.

i know theres a ton of questions in this post, so thanks ahead of time for taking the time to post anythgin helpful, it would be greatly appreciated.

View Replies !    View Related
Playing A Movie Forwards And Backwards With Mouse Drag
Hi,

I would like to play a movie forward when the mouse is dragged right and left when the mouse is dragged left.

nothing original i know but i can't get it to work (Flash MX)

View Replies !    View Related
Strange Problem - Moving Backwards And Forwards (framewise) Within Scene...
So I have a strange problem - basically, I've got a scene set up where you can move left or right over an image via buttons - you click the "Scroll Right" button, and it pans across to the right side, and vice versa for "Scroll Left". "Scroll Right" works fine - it pans across to the right side, stops, and then the "Scroll Left" button pops up. Click that, and it moves back across to the left side, stops, the "Scroll Right" button appears, and then it flashes back to the main scene - leaving the image's scene entirely.

I have ActionScript set up so that upon clicking the "Scroll Left" button and it hitting the left side, it should gotoAndStop at the prior frame, so that basically it creates a loop between the two sides, using essentially something like 30 or so frames for all of the animations. However, like I said, this doesn't seem to work, it seems to as soon as the animation to scroll left is over go back to the main scene... anyone got ANY ideas?

Here's the FLA and SWF files (the problem is in the "Self Promo" scene - from the main screen, the second from the right image on the bottom):
http://www.kyleconrad.com/temp/main.fla
http://www.kyleconrad.com/temp/mainfull.swf

Thanks for any help you guys can offer -

View Replies !    View Related
[CS3] Control A Looping Frame By Frame Backwards And Forwards
Hello Everyone,

This problem has been driving me nuts for days. Basically I want to do this:
http://www.chevrolet.com/corvette/colors/

control an animation backwards and forwards. I have this action script controling the buttons however It only loops when I go backwards, it gets stuck on the final frame going forwards, does anyone know how I can make it loop both ways:

Thank you so much!

back_btn.onPress = function () {
onEnterFrame = function () {
prevFrame();
}
}

back_btn.onRelease = function () {
delete onEnterFrame;
stop ();
}

if (frame = 1) gotoAndPlay(6);



forward_btn.onPress = function () {
onEnterFrame = function () {
nextFrame()
}
}

forward_btn.onRelease = function () {
delete onEnterFrame;
stop ();
}

View Replies !    View Related
Forwards/Backwards "script"?
Hi Folks,
Can anyone tell me the (probably easy) answer to this question,I need to make backwards and forwards buttons for a "slideshow" inside a movieclip that scroll the pictures. The movieclip will be 10 frames long with different pics on each frame and an initial stop action on the first frame. If the user ever goes higher than frame 10 I want it to go back to frame 1 and if they go lower than frame 1 I want it to go to frame 10.
I DONT want to "cheat" and put different actions on the buttons on frame1 and 10, I want to put the SAME actions on the buttons all the way through
but have tried a few things and can't quite get it, I guess it's going to be an "if frame >than 10..go to 1" type thing, if there's any Actionscript whizz's out there please could you spare me a moment as It probably won't take you two minutes to figure it out, thankyou in advance.

View Replies !    View Related
Loop Backwards, Previous Button.
I have a pretty messy array mixture going on here ... but it works. The next image, and caption work fine. However when you get back to the first array, it will not loop backwards to the end of the array. Also I need to rest the timer when the button is clicked ... but I can take care of it myself, just a forewarning for those that test this. Here is the code:


Code:
Stage.scaleMode = 'noScale';

var frames = 45;

var images:Array = new Array();
images.push(["cotm1", "CAR OF THE MONTH - KEVIN D. 2001 CAMARO SS1"]);
images.push(["cotm2", "CAR OF THE MONTH - KEVIN D. 2001 CAMARO SS2"]);
images.push(["cotm3", "CAR OF THE MONTH - KEVIN D. 2001 CAMARO SS3"]);
images.push(["cotm4", "CAR OF THE MONTH - KEVIN D. 2001 CAMARO SS4"]);

var imagesindex = 0;
var imagescap = 0;
var framecount = 0;
var transarea = 0;
var basepoint = new flash.geom.Point(0,0);
var displaybmp = new flash.display.BitmapData(400,229);
var transbmp = new flash.display.BitmapData(400,229);

loadTransBitmap( images[imagesindex][0] );
caption.text = images[0][1];
displaybmp.draw(transbmp);

var format:TextFormat = new TextFormat();
format.letterSpacing = 1;
caption.setTextFormat(format);

this.createEmptyMovieClip("display_mc", 1);
display_mc.attachBitmap(displaybmp, 1);

var intHandle:Number;

function loopImages(){
loadTransBitmap( getNextImage() );
startTransition();
caption.text = getNextCaption();
caption.setTextFormat(format);
}

intHandle = setInterval(this, "loopImages", 5000);

function getNextImage(){
imagesindex++;
imagesindex %= images.length;
return images[imagesindex][0];
}

function getNextCaption(){
imagescap++;
imagescap %= images.length;
return images[imagescap][1];
}

function getPrevImage(){
imagesindex--;
imagesindex %= images.length;
return images[imagesindex][0];
}

function getPrevCaption(){
imagescap--;
imagescap %= images.length-1;
return images[imagescap][1];
}

function loadTransBitmap(id){
var tempbmp = flash.display.BitmapData.loadBitmap(id);
transbmp.copyPixels(tempbmp, tempbmp.rectangle, basepoint);
tempbmp.dispose();
}

function startTransition(){
framecount = 0;
transarea = transbmp.width * transbmp.height;
onEnterFrame = transOnEnterFrame;
}

function transOnEnterFrame(){
framecount++;
var amount = transarea * framecount/frames;
displaybmp.pixelDissolve(transbmp,transbmp.rectangle,basepoint,0,amount);
if (framecount >= frames){
delete this.onEnterFrame;
}
}

bprev.onRelease = bprev.onReleaseOutside=function () {
loadTransBitmap( getPrevImage() );
startTransition();
caption.text = getPrevCaption();
caption.setTextFormat(format);
};
bnext.onRelease = bnext.onReleaseOutside=function () {
loadTransBitmap( getNextImage() );
startTransition();
caption.text = getNextCaption();
caption.setTextFormat(format);
};

stop();

View Replies !    View Related
To Make The Previous Button Play Frames Backwards?
Hey all,

If you click on 'weddings' you will see that the previous button will play the frames backwards. Does anyone know how to do this? It's kinda hard to explain but when you click next and then previous you'll see what i mean.

http://www.truephotography.com/robert/


Thanks in advance

View Replies !    View Related
Easing Scroller Goes Backwards?
Hi There

I'm using an easing text scroller, that takes in text from an external text file.

On my hard-drive it all works fine, but when I upload it to my site, the thing works in reverse, i.e. you drag the scrollbar down and the text goes down too.

It's almost as if it's not reading in all the necessary info?

You can view the scrollbar online here.
http://www.simpletoremember.co.uk/scroll/scroll.html

A zip file with all the files is here.
http://www.simpletoremember.co.uk/sc...gScrollBar.zip

please help! thanks a lot!
mark

View Replies !    View Related
Is It Possible To Go Backwards On The Timeline?
I'm making an animation in which I need a graphic to go backwards or reverse (as if it was is on "rewind"). It would make it a lot more easy if there was a way to get the time line to run backwards, indicating which frames to go on reverse. Is this possible? and how do do that?

Thanks!

View Replies !    View Related
How Can I Go Backwards In The Timeline
I have a picture gallery... a back and forward button....when i hit the forward button the 5 slide pictures horizontally scrolls, so i want when the back button is hit to the picture gallery to scroll back... in other words, the timeline has to go backwards and not forwards.... how can i do that ?

View Replies !    View Related
Timeline Backwards
Hi, i'm trying to learn AS3... i new a little of as2 but seems like it's totally different...

I want to make a function to play one movieclip backwards, the following code use to work in AS2 for me when i set those actions directly on the movieclip i want:

onClipEvent (enterFrame) {
if (hitTest(_root._xmouse,_root._ymouse,true)) {
tellTarget ("movieClipName") {
nextFrame();
}
} else {
tellTarget ("movieClipNme") {
prevFrame();
}
}
}

View Replies !    View Related
How To Go Backwards In The Timeline
I have a picture gallery... a back and forward button....when i hit the forward button the 5 slide pictures horizontally scrolls, so i want when the back button is hit to the picture gallery to scroll back... in other words, the timeline has to go backwards and not forwards.... how can i do that ?

View Replies !    View Related
Playing Timeline BACKWARDS?
Is there a way that I can play my timeline backwards? If there is please let me know.

Thanks!!

View Replies !    View Related
Moving Backwards On The Timeline
I have two buttons for scrolling the one moves forward on the timeline when you rollover:

on (rollOver) {
nextFrame ();
play ();
}
on (rollOut) {
stop ();
}

The other I want to move backward when you rollover what would be the right actionscript for this. Thanks!

View Replies !    View Related
Playing Timeline Backwards
i have been trying to play a movieclips timeline backwards but i am not
having any luck. one way i figured out is by copying the frames and
pasting them in the same clip and reversing the direction of the frames
, but that takes too much space. So if anyone knows how to do this trick
with actionscript please let me know. i would greatly appreciate
if you could explaine each step, as you can tell i am not an actionscript
pro.
Thanks in Advance
Najib

View Replies !    View Related
Play Timeline Backwards
Hi everyone.

Could someone show me how to play the timeline backwards, if this is doable. if its an action, wish one is it.

thank you

View Replies !    View Related
Play Timeline Backwards
I have a small movie file with some pictures of various sizes. I have set up the animation and everything and everything looks fine. However the problem comes when i am closing the movie window. I want to reverse the frames so it basically plays the animation backwards however i dont know how to do this. At the moment i have the closewindow frame just jump to the end of the timeline and close, however it doesnt look right because the background size varies compared to the jpg size. Would anyone out there be able to take a look at my fla and see if they know what to do. I am very new to actionscript but i know that this involves playing the timeline backwards using actionscript.
thanks very much in advance, im really stuck here and id reallly really appreciate if someone could take the time to have a look,
cheers guys,
(this is a flash mx file)

View Replies !    View Related
Playing The Timeline Backwards?
Hello all!

I've created a scroll box in flash by masking a tweened text layer...it is controlled by two buttons - 'up' and 'down'
Getting the text to scroll down smoothly was not a problem - I just used the following code

on (press) {
play();
}
on (release) {
stop ();}

But I cannot get it to scroll back up smoothly - at the moment I've got

on (press){
PrevFrame();
}

which means that the user has to continually click the up button - which is a bit frustrating!
Soooo...I need to somehow get the timeline to play backwards continuously...so when the user clicks and holds the 'up' button it scrolls smoothly....anyone got any ideas...? Would be greatly appreciated!!!
Thanks
jo xx

View Replies !    View Related
Moving The Timeline Backwards
Hi, I've been searching through old posts trying to figure out how to get my movie clip to run backwards. I've read several but I'm getting lost.
In this post I understand the code. I copied the code to my movie clip to see if it would work, and then I could modify it to work with the buttons, but it doesn't work.

I also found reference to the same code in this post where it shows how to split it up using buttons, and still nothing.

I couldn't get the attach to work on here, so I uploaded my file here: http://dca.durhamc.on.ca/~geldart/flash/movieclip.zip

View Replies !    View Related
Help On On(release) For Timeline Backwards
Whats the action script for a button to go backwards on the timeline?

on(release){
goBackWardsOnTimeline;
}

View Replies !    View Related
Panning Through Timeline Backwards
Hey.. Im working on a project that allows the user to pan left and righ along a picutre (360deg) I can pan the movie right as it just moves frame by frame along the image timeline but when i try and pan left.. i have problems with when it gets back to the start of the timeline it just stops..

Any ideas how i can overcome this?

Ta.

View Replies !    View Related
Playing Through The Timeline Backwards
hello




i want to press the left arrow key on my keyboard and a movieclip on stage to play backwards through its timeline and then loop when it gets to the end.

i want to also be able to press the right arrow key and it plays forwards through its timeline.

I want it to be only while the key is pressed


any ideas how to do this in AS2 ??

thanks in advance

View Replies !    View Related
Help On On(release) For Timeline Backwards
Whats the action script for a button to go backwards on the timeline?

on(release){
goBackWardsOnTimeline;
}

View Replies !    View Related
How Do I Script The Timeline To Play Backwards?
Hi,

I'm trying to put a reverse fade on a button once you roll the mouse off it. I know how to get the button to fade in when the mouse rolls over it and I would really love it if someone could help me to script the timeline to play backwards so the "fade in" will "fade out".

Thanks.

LOVE YOUR WORK!!!!!!!!!

Blastbum

View Replies !    View Related
Making A Timeline Play Backwards
Okay. . .

Say I have a two buttons. One button makes a small square fly out from the left to the center, stop and then double in size.

The second button reverses the action. The square reduces in size to its original size and then flys back to the left where it came from.

THE CATCH:

The second button also makes a small green square fly from the right to the center stop and then double in size!



Does that mean your actionscript is playing the timelines backward?
Whats happeing to make that happen?


Thanks for reading,



Pulti Pedia

View Replies !    View Related
MCs Duplicating When Jumping Backwards In Timeline
Ok, I have an MC with one keyframe where it first appears, then regular frames after that until the end of the movie. This movie will be constantly jumping forwards and backwards to specific frames; but it seems that whenever my movie jumps backwards through the timeline some MCs get duplicated.

Anyone know why? Or how to fix it?

Thanks.

View Replies !    View Related
[F8] Is It Possible To Play The Timeline In Reverse/backwards?
I have an effect in the timeline that creates a smooth transition from "FrameA" to "FrameB", however, if the user wants to go back to "FrameA", I would like to reuse the transition in reverse, rather than just doing a gotoAndStop("FrameA");

Is this possible?

View Replies !    View Related
Controling Timeline Forward And Backwards
Hello,
I would like to control the timeline with a sldier, or with buttons.
So I have the main timeline and an animation, I would like the animation not to play, but, instead, when I press and hold the Left Button for example, the timeline to play forward, and when I press and hold the Right Button, the timeline to play backwords. On both cases (left or right button), onRelease, the timeline should stop. Does anybody have a clue where I could find a tutorial like this? It would be great if there was a tutorial that explains how to implement a slider, so the user can drag the animation to the wanted frame.
Please give me a link to a tutorial .
THANK YOU

View Replies !    View Related
How Do I Play A Mc In The Timeline Forward And Backwards
I am trying to play a movieclip foward and backwards in the timeline. On my stage will be a movie clip and two buttons (foward and back). When You push the foward button it will make the time line move foward and when you push the back button it will move the timeline backwards. I can only get the time line to move one frame. I dont know how to make the timeline keep moving when the button is held down. Any Help would be great thanks.

View Replies !    View Related
On Roll Over, Play Timeline Backwards
What do I need to do to a button to make the timeline it is in to play backwards when you roll over the button, but stop when you roll out? I've been searching the forums, but can't find it.

View Replies !    View Related
Playing The Timeline Backwards Without Buttons?
Hey all I was wondering if there is a way to get my flash movie to automatically start playing backwards upon getting to the final frame? Please let me know how I can do this.

-Stephen

View Replies !    View Related
(MX2004) How To Play Timeline Backwards?
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. What action script would be helpfull for me?

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