# \[MX\] Display images from the library in a textfield?

**URL:** <https://forum.kirupa.com/t/mx-display-images-from-the-library-in-a-textfield/163040>\
**Category:** flash\
**Created:** [September 19, 2005, 9:12am UTC](https://forum.kirupa.com/t/mx-display-images-from-the-library-in-a-textfield/163040 "2005-09-19T09:12:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![CEOofAEP](https://avatars.discourse-cdn.com/v4/letter/c/7cd45c/32.png) [@CEOofAEP](https://forum.kirupa.com/u/CEOofAEP)\
**Post date:** [September 19, 2005, 9:12am UTC](https://forum.kirupa.com/t/mx-display-images-from-the-library-in-a-textfield/163040/1 "2005-09-19T09:12:23Z")

</div>

Hello.

I know it is possible to load a JPG on the fly and display it in an HTML-textfield using the “img”-tag… but what if it is not an extermal JPG but instead an internal PNG?

I already found out that flash can’t read PNGs “on the fly” to display them in a textfield (it needs to be a textfield because it also contains scrollable text)… that’s why I tried to see if it can be done when the PNGs are already in the SWF’s library on runtime- but I can’t seem to get it done.

Does any of you know how to do it? Is it even possible?

I wish Macromedia supported HTML-formatting and displaying of images more concisely and practically :-/

Anyways… thanks for your support in advance. Oh- and I attached a sample PNG file 🙂

~Marcel
