View Full Version : duplicateMovieClip
dj fuzzline
11-04-2001, 08:29 PM
I have a movie clip of just a black square, and I want to end up with a grid 26x25 of these MC's, ie. 676 MC's.
What is the quickest way, using the duplicateMovieClip and setProperty functions to make a grid like I said?
Cheers,
Jesse
11-04-2001, 10:33 PM
http://www.actionscripts.org/showMovie.php?id=39
dj fuzzline
11-05-2001, 11:16 AM
thanks, that's perfect, one more little question though. How do you position the MC's within the movie? For example setting the position of the top-left MC and all the others following that one.
oh, and what does the 'count' variable do?
Cheers,
this (http://www.actionscripts.org/tutorials/beginner/attachMovie/index.shtml) and this (http://www.actionscripts.org/tutorials/beginner/DuplicateMovieClip/index.shtml) both will give you a good idea of what is going on in the source jesse showed you.
|
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.