Have you tried loading the image into a empty Movieclip.  Have an oncomplete
handler that will fire once flash has loaded the image into the empty movie
clip.  Inside the oncomplete handler function, have flash create your
textfield with the text you want at whatever location you need.  This way,
the image will show up and then comes in the text.

Nice site by the way.

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Sander
Schuurman
Sent: Sunday, December 20, 2009 4:47 PM
To: Flash Coders List
Subject: [Flashcoders] TextField with image...

Hi cool list,

I'm encountering a problem with TextFields... I want to embed an image  
into a TextField, and position other content underneath the TextField.

The Image is loaded after a short while, and thus the height of the  
TextField increases. But no event is fired when the img is loaded.

How can I position something underneath the TextField after the img is  
placed inside the TextField?

I've tried first loading it so it is in cache, but no success... is  
there a way to insert the loaded Bitmap directly into the TextField?  
It can contain external images or linkage identifiers from the  
library. But can't get my head around getting a loaded Bitmap in...

Anyone?

Thanks!

Sander Schuurman
sentoplene.com
@sentoplene
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to