| << | ||
...duplicate the square in random positions |
||
| Before duplicating, hide the master square off the stage... | ||
| Hide the initial square by giving it a y position way off the stage... _root.drawing.sq._y=1000; |
||
| Now duplicate this master square 198 times in random positions... | ||
This next part of the script is a loop which creates an object with
random _x and _y values, then uses this initialise object when duplicating
the 'sq' movie clip. This means each new copy appears in a random position
on the screen: |
||
open raw text script... |
||