At least one problem:
_root.playListHolder.createEmptyMovieClip(vThumb+i, i+1000);
should be (note quotes):
_root.playListHolder.createEmptyMovieClip("vThumb"+i, i+1000);
Also, you don't need the line:
var vidThumb:MovieClip =
You can just tell _root.playListHolder to create the clips based on
the incremental naming scheme you describe.
- Marc
At 09:05 PM 1/12/2008, you 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
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders