Why is that not working? Tracy
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo Duenas Sent: Wednesday, September 24, 2008 5:50 PM To: [email protected] Subject: [flexcoders] making a titlewindow resizeble Hi coders I have a list in xml with some pictures in it, and I was wondering how could I get the size of the window match the size of the content. so far I was trying this. mywindow.width= mylist.selectedItem.picture.width; mywindow.height=mylist.selectedItem.picture.height; I'm using mylist.selectedItem.picture, because the pictures are shown in a tilelist named mylist, and the dataprovider is an xml list and the itemrenderer is a vBox. I can't figured out other way, any ideas ? Regards, Gustavo

