This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > January 2007 > Tweening Question





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Tweening Question
kcellis

2007-01-10, 6:39 pm

Is it possible to run a movie clip backward smoothly instead of one frame at a
time using
on (press) {
prevFrame ();
}
which requires continual clicking to move the frame backward? I would like
something that would reverse frames continuously with
on (release) {
stop();
}
to end the motion.
I am using Flash 8 and using buttons to control the action.

_AlbertG_

2007-01-10, 6:39 pm

Well, instead of on(press) you can use a movieClip and use
onClipEvent(enterFrame)

//----------
myClip.onEnterFrame = function(){
this.prevFrame();
}
//---------

Then you'll have to stop it with
//------
myButton.onRelease = function(){
myClip.onEnterFrame = null;
}

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews