Hot to add linkage via ActionScript

Hi I have this flag effect (thank you guys Ilyas Premier and Claudio) but I need to load a movie clip (jpg file via http link) so here is the swf file and the lines that I’m trying to do are this ones:

loadMovie(“http://www.macromedia.com/images/shared/product_boxes/80x92/box_contribute_80x92.jpg”, Pelicula1);

/*** Linkage name of the clip ***/
clip= attachMovie(Pelicula1, Pelicula1);

Can you help me please

well I tried to look at your file, but I think it must be in MX 2004 format, so you should probably post it in that forum

if you are trying to load a movie clip onto your main state, you have to have a target, or holder (which would be an empty movie clip) to load into.

This tutorial may help you some:
http://www.kirupa.com/developer/mx/loading.htm

Also, with your attachMovie code, you must make certain that you gave your click a linkage identifier and specify a level like this:

holder.attachMovie = (clip, clip1, 10);