# AS2/CS4 Preloading images into dynamic text

**URL:** <https://forum.kirupa.com/t/as2-cs4-preloading-images-into-dynamic-text/292785>\
**Category:** flash\
**Created:** [July 19, 2009, 3:54am UTC](https://forum.kirupa.com/t/as2-cs4-preloading-images-into-dynamic-text/292785 "2009-07-19T03:54:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cloudiness](https://avatars.discourse-cdn.com/v4/letter/c/a3d4f5/32.png) [@cloudiness](https://forum.kirupa.com/u/cloudiness)\
**Post date:** [July 19, 2009, 3:54am UTC](https://forum.kirupa.com/t/as2-cs4-preloading-images-into-dynamic-text/292785/1 "2009-07-19T03:54:15Z")

</div>

hello!

I’ve been having a tough time figuring this one out. I have a text field I want to be scrollable but I also want to add images into this text field with html. the problem is that I’m not sure how to preload the image i’m loading into the text field so I can’t return the proper height for the scroll-bar; it just returns the height of the text alone.

does anyone have any solutions they’re willing to share?  
any help would be greatly appreciated!!
