On 7/25/06, Sergey Kovalyov <[EMAIL PROTECTED]> wrote:

>                 protected function onCreationComplete() : void {
>                         myHBox.addChild(new Text());
>                 }

 var t:Text = new Text();
 myHBox.addChild(t);
 t.regenerateStyleCache(false); // force initialisation of styles

Since the HBox is not on the display list, we don't initialise the
styles for the Text object (optimisation). The Text object doesn't
know how to deal with the situation unfortunately. I've logged a bug.
Meanwhile, you have to call regenerateStyleCache() explicitly.


------------------------ Yahoo! Groups Sponsor --------------------~--> 
See what's inside the new Yahoo! Groups email.
http://us.click.yahoo.com/3EuRwD/bOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~-> 

 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcomponents/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to