# Flash Lottery Ticket Part 1

**URL:** <https://forum.kirupa.com/t/flash-lottery-ticket-part-1/91715>\
**Category:** Uncategorized\
**Created:** [October 8, 2003, 12:23am UTC](https://forum.kirupa.com/t/flash-lottery-ticket-part-1/91715 "2003-10-08T00:23:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![REEF](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@REEF](https://forum.kirupa.com/u/REEF)\
**Post date:** [October 8, 2003, 12:23am UTC](https://forum.kirupa.com/t/flash-lottery-ticket-part-1/91715/1 "2003-10-08T00:23:57Z")

</div>

Hey peoples. Let’s say I’m creating a lottery ticket in flash.  
[list]  
[_]How would I make it so that, if theres like 7 scratch offs, only one can be scratched off in the same time? 80% of one of them must be scratched off before another one. (Order doesn’t matter)  
[_]How would I make it so that all the numbers/pics are random?  
[\*]How would I make it that if three of the numbers/pics are are the same, it goes to a new keyframe called “win”?  
[/list]

I might use either pictures or numbers. The pics will be movieclips. Numbers will be dynamic text. Don’t know, depends on which one I want…

(I don’t know if the .fla will be helpful since I want to learn, but if you can it would be awesome, just to get a idea)

- Please Help!
