View Full Version : tutorial idea
mizno
12-07-2000, 03:33 PM
how to make a lotto game, that sends variables outside of flash
Jesse
12-07-2000, 11:52 PM
You'd have a movieclip which played trhough all your options, then you might impliment a system like that used in my Relative scrollign tutorial here but in your case:
When launched, you would generate a random number up to the number of elements you have. Then you would play a standard 'fake' spinning thing, then you would play the legit spinning thing and have a text in each frame where an element is fully visible testing if that object is the random number you just got. If it is, it stops and sets a variable 'piece1' to whatever., Then you teset piece 1, 2 and 3 against each other and whammo!
Cheers
Jesse
Jesse
12-07-2000, 11:54 PM
Whoops I was so busy replying to actionscript questions that I thought this was one too! heheh OK I'll look into making a lotto thingo and if I like it I'll write a tutorial.
Cheers
Jesse
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.