Try this instead:
for (var i:Number = 0; i< 5; i++) {
_root.playListHolder.createEmptyMovieClip("vThumb"+i, i+1000);
var vidThumb = __root.playListHolder["vThumb"+i];
//theVideo.width = thumbWidth;
//theVideo.height = thumbHeight;
vidThumb._y = i*thumbHorizontalGap+thumbY;
vidThumb.loadMovie("
<http://www.google.com/>http://img0.gmodules.com/ig/images//weather_welcome_image.jpg");
}
Assuming your thumbHorizontalGap and thumbY vars are right, this should display
5 clips vertically;
hth,
Bob
macromedia flash wrote:
hi there,
I am having problem to create empty Movie clicp by using the code below, I
can't create 5 movie clips vertically. Would you please help me take a look
this. Thank you so much :)
playListHolder is an MC Instance name and placed on Stage.
for (var i:Number = 0; i< 5; i++) {
var vidThumb:MovieClip =
_root.playListHolder.createEmptyMovieClip(vThumb+i, i+1000);
vidThumb = eval(vThumb+i)
//theVideo.width = thumbWidth
//theVideo.height = thumbHeight;
vidThumb._y = i*thumbHorizontalGap+thumbY;
vidThumb.loadMovie(" <http://www.google.com/>
http://img0.gmodules.com/ig/images//weather_welcome_image.jpg")
}
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Thanks,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bob Leisle
Headsprout Software & Engineering
http://www.headsprout.com
Where kids learn to read!
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders