AS2/CS4 Preloading images into dynamic text


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!!