Looking to make this wheel spin randomly when clicked. Any help is appreciated
The goal is to put in a smart board file, so i'd like to have the background of the wheel transparent
Hmm.
I'd try putting the registration point at the center of the wheel, and use the rotation property to spin it. If you have so that every frame is slows it down a bit (reduce the spinning speed that it's rotated by), if you start with a random spinning speed, then it will stop somewhere different each time it comes to a halt.
I really haven't learned enough to know what your talking about. I agree that the wheel should spin in the center, but no idea how. Yes, I would like to have it random
Originally Posted by ranoka
Hmm.
I'd try putting the registration point at the center of the wheel, and use the rotation property to spin it. If you have so that every frame is slows it down a bit (reduce the spinning speed that it's rotated by), if you start with a random spinning speed, then it will stop somewhere different each time it comes to a halt.
Make a movie clip of the wheel and put it on the stage and give it an instance name of 'wheel'. Then in the first frame of a script layer type in this:
Make a movie clip of the wheel and put it on the stage and give it an instance name of 'wheel'. Then in the first frame of a script layer type in this:
I am also making flash buttons for the letters. I have 2 key frames one with the green wheel of fortune symbol and the next with the a letter of the alphabet to be revealed.
I have converted the first frame 'mask' to a symbol button. I would like to press it and have the next frame revealed.
Code needs to be on the main timeline, not on the wheel. Also make sure the symbol 'wheel' has an instance name of 'wheel'.
Hello Dawkson, First of all thanks for all the help, I used the Actionscript that you created , to do a wheel of fortune for a project, everything is working perfectly, exept for the fact that I need it to spin without the onPress and onRelease,
is there any way to do this click automatically , or to make the wheel of fortune spin after 3 seconds..
Thank you, I hope you can reply to this, I know its an old post
So, I like helped someone with a similar problem, making a Spinner, 1 or 2 months ago, and I've edited the code to suit your needs
It's just a movieclip with the Wheel of Fortune/Spinner, and all the codes are on the Frame. The 3 Second start over is already implemented, so Enjoy
Nig 13 thank you very much, You saved my life and my computers life, because I was about to throw it out through the window!! Thank you again for your help, and fast response.
By the way, would you recommend any good books or webpages where i could learn more about ActionScript?
Nig 13 thank you very much, You saved my life and my computers life, because I was about to throw it out through the window!! Thank you again for your help, and fast response.
By the way, would you recommend any good books or webpages where i could learn more about ActionScript?
Thanks Again
Haha, glad to hear I prevented something awful to happen xD
Books? I honestly don't know, because I learned Actionscript through online Tutorials, Forums like this one, so basically just the internet, and some time
If you start looking at tutorials or learn new things, and are doubting something, just come here and ask a question, and we'll try to answer it and help you understand actionscript, more and more
I am back, guys ... and finally 18 :P
BRING BACK THE OLD DESIGN!! OR AT LEAST FIX THE AS TAGS