# Detect texfield html images loaded

**URL:** <https://forum.kirupa.com/t/detect-texfield-html-images-loaded/157427>\
**Category:** Uncategorized\
**Created:** [August 1, 2005, 10:16pm UTC](https://forum.kirupa.com/t/detect-texfield-html-images-loaded/157427 "2005-08-01T22:16:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rzn8](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rzn8](https://forum.kirupa.com/u/rzn8)\
**Post date:** [August 1, 2005, 10:16pm UTC](https://forum.kirupa.com/t/detect-texfield-html-images-loaded/157427/1 "2005-08-01T22:16:37Z")

</div>

I have a text field in a clip being loaded into a scrollpane component… easy enough…

I have text and images being loaded into that text field…

when the text is loaded the field thinks that it’s done and then fires off a myScrollPane.invalidate() to rfresh the scroll bar to fit all of the text…

The problem: the Images load into the field after the textfield thinks it’s done loading and updates the scrollpane component. I know you can target these images using the “id” attribute but is there a way to place a listener to detect an onLoad event or a loaded event for that id?

summary: Can I detect when textfield images are done loading. are there any built in events for this?
