  | |  | Math Wizards... | Math Wizards... 2004-03-09 - By Doug Coning
Back Allright Math Wizards,
I don't know if anyone wants to give this a shot, but I'm creating an inhouse flash demo project to show my boss some of Flash's capabilities. I am modelling the flash file off an Apple iPod. It will load an XML menu of songs, and then load them dynamically. The user can select a song and play it. Of course in the middle of the iPod is the wheel that allows you to increase or decrease the volume based upon which way you go around the wheel.
I've created a wheel button and have a listener that returns the x & y coordinates of the mouse as it moves around the wheel.
However, this is where I get stuck. Based on the x & y coordinates (and previous mouse move coordinates), how do I determine if the mouse is rotating clockwise or counter-clockwise around the wheel?
If anyone has any suggestions, I'd greatly appreciate your help.
Blessings,
Doug Coning Software Developer FORUM Solutions, LLC
=-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Supported by Fig Leaf Software =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- Be sure to check the archives and the wiki: http://chattyfig.figleaf.com/ =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- http://chattyfig.figleaf.com/cgi-bin/ezmlm-cgi?1:mss:106476 =-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- -- To unsubscribe send a blank e-mail to: Normal Mode: flashcoders-unsubscribe@(protected) Digest Mode: flashcoders-digest-unsubscrive@(protected)
Earn $52 per hosting referral at Lunarpages.
|
|
 |