PDA

View Full Version : Adding random movie clips to stage



emrepbrown
December 7th, 2008, 10:52 AM
Hello everyone. My problem is that i want to adding random movie clips to stage from library ,where there are some movieclips, when i click to stage. I want to create a button and addevent listener to it then each time it adds random movieclips from library without no removing previous MovieClips with using AS3. I haven't found the math random adding code when i click the myButton. Thanks.

xclydes
December 7th, 2008, 06:23 PM
Hello everyone. My problem is that i want to adding random movie clips to stage from library ,where there are some movieclips, when i click to stage. I want to create a button and addevent listener to it then each time it adds random movieclips from library without no removing previous MovieClips with using AS3. I haven't found the math random adding code when i click the myButton. Thanks.

like the 6th item here (http://autoinfoja.com/Easter_Egg/gallery.html) ?
if so fla here (http://autoinfoja.com/Flash/Dynamic_Generation_V1.fla).