Resize window for pictures

Hi, I´ve searched on this subjcet but didn´t find anything.

This is the deal.
The user chooses a pictures froma menu, and that picture is loaded on the main movie, on a “square”, like a photo frame, but since the images are not all the same size, I´d like to make the square behind them to adjust itself to the size of the pictures as they are loaded.

Thanks

Something like this ?

mmh i thought flash had no idea how to retrieve image info…

Does that mean it actually checks the swf movies size ??

YES, BUT NOT A SLIDE SHOW. Should have some buttons and the picture would appear on the right.

Originally poste by felipegm
YES, BUT NOT A SLIDE SHOW. Should have some buttons and the picture would appear on the right.

just get the component and see how it’s done. :stuck_out_tongue: :wink: