Hi folks,
first of all , hello to everyone,
this seems a great forum ,
and i have to tell i love the tutorials.
It made me cross the line making an portfolio in flash as where i wanted to use ajax.
Any way ,
Im stuck at a point where im getting desperate and where im supposed to see images instead of tears:-)
Ok the problem im having is that the images are not appearing in their respective movieclip.
I thought u can put an image in a movieclip with loadmovie(image,layer)
guess i was wrong
the code where it must be wrong :
function Listing(Client,p)
{
var offset = (perpage * p);
luck = 0;
row = 0;
fin = (offset + perpage);
my_counter = 0;
for (var g=offset; g < fin ; g++) {
var tes = moviecl.attachMovie("menu_item","item"+my_counter, my_counter);
trace(Client["Clientimages"][g]); // i see the image url
if (luck == 3)
{
row++;
luck=0;
}
tes._x = luck * item_spacing;
tes._y = 130 * row;
my_counter++;
luck++;
tes.clientnametxt.text = Client["Clientnames"][g];
// i guess the provlem lays here
tes.picture = loadMovie(Client["Clientimages"][g],1);
trace(tes.picture); // i see the _level1.moviecl.menu_item0.picture looks good
}
show_page_num(Client["Totaal"],p);
}
Ok so what im trying to do is to show the image from the array into movieclip picture.
this movieclip is in the menu_item movieclip which is generated for each image
with this line
tes.picture = loadMovie(Client[“Clientimages”][g],1);
Im hoping someone can shed me some light as i need it=)