all groups > flash actionscript > november 2006 >
You're in the

flash actionscript

group:

image squence, movement, nextFrame


image squence, movement, nextFrame indigomontoya
11/25/2006 7:58:46 AM
flash actionscript:
so i have a sequence i made in 3ds max that i have in flash now, and i want it
to go to the next frame when i move the mouse to the right, and the prev frame
when i move the mouse to the left of the center. I tried this...
but it doesnt have the effect I wanted it to, it spins it really fast, any
help on how to just make it slowly rotate while i am moving the mouse to the
right, this is for a menue, I have a box with buttons on it that is rotating
360 and i need it to rotate slow enough for people to see it. perhaps even
speed up the farther away from the box the mouse gets.



stop();
onMouseMove = function() {
if(_root._xmouse > 300){
this.nextFrame();
} else
{this.prevFrame();
}

}
Re: image squence, movement, nextFrame indigomontoya
11/25/2006 6:12:55 PM
Re: image squence, movement, nextFrame 2m
11/25/2006 7:46:05 PM
Hi,
i made a little example, with a globe that spins at different speeds and stops
when you're near the center of the swf.

here: http://www.markus-mathieu.de/support/mousespin/globe.html

You could fine-tune it a lot, but that should give you a starting point.
After rereading your post, I'm no longer sore however I i did understand you.
As my object does not stop spinning, when the mouse rests, if that is what you
want, that isn't too hard either, but you need a lot of frames (= large file)
to make it smooth.
AddThis Social Bookmark Button