Re: [Flashcoders] adding child movie clips in a loop

2008-12-14 Thread Gerry
OR... You could do the following in your loop... mc.name = "mc"+i; It all depends on how you want to reference those clips though, mouseEvents? Or just an animation / change of some property on each clip? -Gerry On Dec 14, 2008, at 3:00 PM, php_mysql_ as_ dev wrote: Hello This code

RE: [Flashcoders] adding child movie clips in a loop

2008-12-14 Thread Barry Hannah
movie clips in a loop Hello This code seems to give me a column of 10 instances of "myMovieClip." But it doesn't make sense because each instance is referenced by "mc." How would I reference each clip? public class create_ten_clips extends MovieClip { publ

[Flashcoders] adding child movie clips in a loop

2008-12-14 Thread php_mysql_ as_ dev
Hello This code seems to give me a column of 10 instances of "myMovieClip." But it doesn't make sense because each instance is referenced by "mc." How would I reference each clip? public class create_ten_clips extends MovieClip { public var mc:MovieClip = new MovieClip(); public fu