I've noticed that some TextField properties do not update themselves until
the function that updated them finishes executing.  In other words, don't
do:

function(){
        TextField.text = "foo";
        trace(TextField._height);
}

I have sometimes used SetInterval to wait a tick before testing a property
on a TextField.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Thursday, May 11, 2006 3:52 AM
To: Flashcoders mailing list
Subject: [Flashcoders] Text Height in MovieClip help!

I have a movieclip  (scrollContent) that has a dynamic textfield in it that
I
add text too. If i trace(scrollContent._height) it comes up as 190, which is
the same as it shows in the authoring environment. Why does the movieclip
height not adjust based on the text height?  Thanks!


Booots
_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to