# Loading text & JPG nito TextField makes Textfield white

**URL:** <https://forum.kirupa.com/t/loading-text-jpg-nito-textfield-makes-textfield-white/263711>\
**Category:** flash\
**Created:** [June 18, 2008, 3:18pm UTC](https://forum.kirupa.com/t/loading-text-jpg-nito-textfield-makes-textfield-white/263711 "2008-06-18T15:18:12Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![abrandao](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@abrandao](https://forum.kirupa.com/u/abrandao)\
**Post date:** [June 18, 2008, 3:18pm UTC](https://forum.kirupa.com/t/loading-text-jpg-nito-textfield-makes-textfield-white/263711/1 "2008-06-18T15:18:12Z")

</div>

Hi guys !

Does anyone know, why a textfield may become white when loading text + JPGs into it? Sometimes it happens to me, sometimes not. I haven’t figured out why.

If you have any clues… I’d be really thankful

The AS I’m using:

\_target.container.t.html = true  
\_target.container.t.condenseWhite = true  
\_target.container.t.autoSize = “left”;  
\_target.container.t.htmlText = \_data.texto

The String ( &HTML ):

"Text lorem ipsum bla bla … \<img style=‘WIDTH: 154px; HEIGHT: 59px’ height=‘298’ width=‘856’ alt=’’ src=‘[http://www.spacilong.com/arq/img/AlcatelLucent\_Hor\_2col\_sm.jpg](http://www.spacilong.com/arq/img/AlcatelLucent_Hor_2col_sm.jpg)’ /\>

---

<div class="post-metadata">

**Author:** ![randomagain](https://avatars.discourse-cdn.com/v4/letter/r/35a633/32.png) [@randomagain](https://forum.kirupa.com/u/randomagain)\
**Post date:** [June 18, 2008, 3:23pm UTC](https://forum.kirupa.com/t/loading-text-jpg-nito-textfield-makes-textfield-white/263711/2 "2008-06-18T15:23:23Z")

</div>

erm **text** fields can’t load images 😛

unless maybe you render it as html text

should really load images into MCs though

---

<div class="post-metadata">

**Author:** ![abrandao](https://avatars.discourse-cdn.com/v4/letter/a/bc79bd/32.png) [@abrandao](https://forum.kirupa.com/u/abrandao)\
**Post date:** [June 18, 2008, 4:00pm UTC](https://forum.kirupa.com/t/loading-text-jpg-nito-textfield-makes-textfield-white/263711/3 "2008-06-18T16:00:16Z")

</div>

[quote=randomagain;2344976]erm **text** fields can’t load images 😛

unless maybe you render it as html text

should really load images into MCs though[/quote]

Naturally, I am rendering the textfield as HTML ! 😃

\_target.container.t.html = true  
\_target.container.t.condenseWhite = true

---

<div class="post-metadata">

**Author:** ![creatify](https://avatars.discourse-cdn.com/v4/letter/c/d07c76/32.png) [@creatify](https://forum.kirupa.com/u/creatify)\
**Post date:** [June 18, 2008, 4:11pm UTC](https://forum.kirupa.com/t/loading-text-jpg-nito-textfield-makes-textfield-white/263711/4 "2008-06-18T16:11:54Z")

</div>

I’m not sure what that is - but notice it all the time. Hate to cross-forum post, but take a peek at this thread, it appeared that the person found a solution to avoiding that, by trying to run a preloader on the textField image target - I haven’t tested but worth a try:

[see here](http://www.actionscript.org/forums/showthread.php3?t=173501)
