360/Spin Effect in flash
- Started
- Last post
- 7 Responses
- mase
Hi!
I've got about 30 stills and am trying to do a little drag and spin 360 thing in flash.
Im stuggling & so I'm googling for .fla's / action script help but all I get back are the '360 panromic' techniques - what I'm trying to do is more like this....
http://www.lincoln.com/reachhigh…
anyone got any links to .fla's / AS help!?
ta!
- joyride0
should be pretty easy, all it seems to do is on the onDrag, it's moving the timeline + or -.
so onPress, get the _x of the mouse. and when the _x is < the original position, move the timeline down, if it's > move it up.
I don't have any links, but you should be able to find some mousePosition effects
- mase0
*...after many days....*
I've got that far but it's not really right because as soon as you move in the opposite direction, the anim goes back the other way.
It's more like: if the _xmouse keeps increasing the anim plays fowards, if it decreases the anim plays backwards.
Im just not sure how to Action Script that.
:(
- mase0
.... or How can I perform a function when the mouse is moving right?
any takers?
:)
- mase0
it's ok, dont panic guys - I found this...
- mase0
thanks mase!
- mase0
hey, no problem dude!
- UndoUndo0
var prePosX = 0;
function = monitorMovement (prePosX ){
if(_xmouse>prePosX ){
// move playhead forward
} else if (_xmouse