PDA

View Full Version : Spinning wheel game redux


milkshake
02-26-2008, 05:46 PM
Just coming back to Flash after a long break since v5.

I'm trying to detect where the wheel has stopped. The detection seems to work OK (it recognises which colour/section it stopped at), but the rotation of the wheel is different every time, so the pointer points to the wrong section.

Hopefully the .fla explains my ramblings.

It's based on the file found here (http://friendsofed.infopop.net/4/OpenTopic?a=tpc&s=989094322&f=3953051263&m=3383064367), adapted to use 15 sections rather than 36. I'm guessing here the problem lies :)