[CS3] Looking for a tutorial / sample Wheel of Fortune
I am looking for a tutorial or sample fla for something similar to Wheel of Fortune. Basically, I want a wheel ( like a roulette wheel ) where the user will spin it, and whatever they land on it will then forward them to the appropriate part of the MC/SWF. For example, if they spin the wheel and the wheel ends on $5 then they will be sent to Frame Label fivedollar where they will be given instructions on how to claim their prize.
what part is it you guys are having the trouble with?
here is a quick example I made years ago to explain a simple hitTest();
however.. I think maybe for your project..
start by putting all the section names into an array:
var choiceArray:Array = ["5Dollar", "100Dollar", "Bankrupt", "FreeTrip"];
etc..etc..
I would then use a TWEEN instance to rotate the 'wheel' with some easing on it.. to slow it to a stop...
then when tween.complete executes/fires you can run through your array of clip names to see if it is hitTest() on any of them and if so.. do whatever it is you need done. (go to the appropriate frame label)