Hi Everyone(?) ;-),
ok, so here is a scenenario:
Some 360 degree animation is spinning on screen. Now: I would like to control the rotation with the XY of the mouse: e.g. I move the mouse to the left side, the animation is spinning leftwards. I move the mouse farther left, the anim. is spinning leftwards and faster. Naturally the same thing should work for the right side.
Ideas? comments? Jokes?
Thanks so much in advance,
mucho
from your title ill assume your anim has a setup which allows it to be controlled by a variable called speed?
simply take your variable called speed (which = 1), and times it by the _root._xmouse - x where x is the x value of the central point of your anim… that way when you are on the left of it the speed will be a negative number and hence it spins the opposite way as to if your mouse is on the right… you follow?
Prophet.
I don’t think he has controls for it prophet and that it might just be a 3d animation but I’ve though of a bit of an unorthodox way of doing this but bare with me.
Put the animation into a movieclip of it’s own with a stop action on the first frame, drag it onto the stage and give it an instance name of say, “3danim”.
Then, to make it go forward, use setInterval along with a function that just moves the playhead along by 1 and use an interval time that makes the animation look decent.
Now, create some kind of formulae that changes the interval depending on the position of the mouse.
Too stupid an idea?
nope, not stupid… but bear in mnd you would have to clear the interval each time you ran the interval function and then re-run the setInterval otherwise your interval would not update to reflect the mouse position 
Prophet.
Prophet…I bow down before you. If I had of tried that, I definately wouldn’t have thought of that, it wouldn’t have worked and I would’ve just confirmed the idea was stupid.
Tis a good point. Might try experimenting with it a bit myself.
lol i speak from experience 
Prophet.