Oli-G
May 12th, 2005, 08:30 PM
Hey all...
I have a movie clip on the stage, which is a record.
What I want, is for the user to be able to move the mouse over, click down, and spin the record left and right. To confuse matters, I would like to keep the record spinning (tapering to a stop) after they flick the cursor across the screen in either (any) direction.
I also need to set a maximum velocity (?), whereby when it is spun hard enough, an event is triggered. I gather this will just involve querying the number of rotations within a given time. Any ideas?
The alternative is to just make a spin animation that activates when its clicked, but I figure this would make it a lil more interesting.
Cheerz
http://mysubjects.swin.edu.au/images//ci/listbtns/reply_off.gif (http://mysubjects.swin.edu.au/bin/common/msg_add.pl?forummain_pk1=28518&forummain_sos_id_pk2=1&msgmain_pk1=559277&msgmain_sos_id_pk2=1&context=default&nav=discussion_board_entry)
I have a movie clip on the stage, which is a record.
What I want, is for the user to be able to move the mouse over, click down, and spin the record left and right. To confuse matters, I would like to keep the record spinning (tapering to a stop) after they flick the cursor across the screen in either (any) direction.
I also need to set a maximum velocity (?), whereby when it is spun hard enough, an event is triggered. I gather this will just involve querying the number of rotations within a given time. Any ideas?
The alternative is to just make a spin animation that activates when its clicked, but I figure this would make it a lil more interesting.
Cheerz
http://mysubjects.swin.edu.au/images//ci/listbtns/reply_off.gif (http://mysubjects.swin.edu.au/bin/common/msg_add.pl?forummain_pk1=28518&forummain_sos_id_pk2=1&msgmain_pk1=559277&msgmain_sos_id_pk2=1&context=default&nav=discussion_board_entry)