# Popup image & autodetect dimensions from within flash?

**URL:** <https://forum.kirupa.com/t/popup-image-autodetect-dimensions-from-within-flash/213224>\
**Category:** Uncategorized\
**Created:** [January 17, 2007, 9:42pm UTC](https://forum.kirupa.com/t/popup-image-autodetect-dimensions-from-within-flash/213224 "2007-01-17T21:42:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cheska](https://avatars.discourse-cdn.com/v4/letter/c/3bc359/32.png) [@Cheska](https://forum.kirupa.com/u/Cheska)\
**Post date:** [January 17, 2007, 9:42pm UTC](https://forum.kirupa.com/t/popup-image-autodetect-dimensions-from-within-flash/213224/1 "2007-01-17T21:42:13Z")

</div>

I have a LOT of buttons in my movie, and they will open popups of images.

I dread the though to of having to re-write the code for size of an html page that houses each image each time the images change.

Is there an extension/function or anything that might help me to do this, so that all i have to worry about is the name of the image each button opens? ![](http://forum.kirupa.com/uploads/kirupa/525/d5236136df0858f4.gif) ?

I hope so…crossed fingers!

Thanks in advance of anyone ultra prompt help and/or reply : )

Cheska
