Groups | Blog | Home
all groups > flash actionscript > october 2007 >

flash actionscript : Random Percentage Generator


herod2221
10/24/2007 10:17:13 PM
Hi-
i don't know actionscripting, just checking if Flash would even be the proper
application to obtain my desired result:

I'm setting a grid of squares, say 100x100, and would like to generate a
random pattern according to the following rules: 30% (or any percentage I
desire) of the grid is a specific color, and another 20% (or any percentage I
desire) is another color, with the remaining squares white.

Would actionscripting be the way to go? Is there an even simpler way for me
to create this w/o learning a new app?

Thanks.
kglad
10/24/2007 11:36:12 PM
AddThis Social Bookmark Button