# Retrieving image data for flash use

**URL:** <https://forum.kirupa.com/t/retrieving-image-data-for-flash-use/285133>\
**Category:** flash\
**Created:** [March 27, 2009, 12:51pm UTC](https://forum.kirupa.com/t/retrieving-image-data-for-flash-use/285133 "2009-03-27T12:51:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kirbyprime](https://avatars.discourse-cdn.com/v4/letter/k/f475e1/32.png) [@Kirbyprime](https://forum.kirupa.com/u/Kirbyprime)\
**Post date:** [March 27, 2009, 12:51pm UTC](https://forum.kirupa.com/t/retrieving-image-data-for-flash-use/285133/1 "2009-03-27T12:51:59Z")

</div>

Hi, I have a question that I’m wondering if anyone knows the answer to, not exactly sure if this goes into the realm of PHP or AS3 but I would assume that it would be a problem for AS3 moreso than PHPers.

Generally, when I were to say import pictures into a Flash Gallery I would just have a images\_XML.php file that reads all the urls for the various images from a database. This is fine and all of these sort of situations as the images are accessible normally via a url.

However, the issue I’m having is that I had saved the image data into a database. With PHP, this is a slightly more time consuming process of reconverting the data back to a jpg, but I’m not quite sure how I would go about doing this for flash. If anyone knows how to get around this, please let me know. Thanks in advance.
