# Making an portofolio with flash xml and php

**URL:** https://forum.kirupa.com/t/making-an-portofolio-with-flash-xml-and-php/213532
**Category:** flash
**Created:** [January 20, 2007, 2:55pm UTC](https://forum.kirupa.com/t/making-an-portofolio-with-flash-xml-and-php/213532 "2007-01-20T14:55:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kenisfam](https://avatars.discourse-cdn.com/v4/letter/k/b9bd4f/32.png) [@kenisfam](https://forum.kirupa.com/u/kenisfam)
#### Post date: [January 20, 2007, 2:55pm UTC](https://forum.kirupa.com/t/making-an-portofolio-with-flash-xml-and-php/213532/1 "2007-01-20T14:55:39Z")

</div>

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 :

```auto
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=)
