--- In flexcoders@yahoogroups.com, "Sergey Kovalyov"
<[EMAIL PROTECTED]> wrote:
>
> Hi All!
> 
> Each time I create new Text instance in ActionScript using new Text()
> and then add it to parent container, I get exception:
> 
> TypeError: Error #2007: Parameter antiAliasType must be non-null.


I'm having a similar problem. I've got two containers that have
UITextFields in them. One of them works sometimes, the other never
works. I've tried specifying the antiAliasType in css and setting the
style explicitly on the control.

TypeError: Error #2007: Parameter antiAliasType must be non-null.
        at flash.text::TextField/set antiAliasType()
        at
mx.core::UITextField/validateNow()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:1427]
        at mx.core::UITextField/set
nestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UITextField.as:956]
        at mx.core::UIComponent/set
nestLevel()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:2420]
        at
mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\UIComponent.as:4720]
        at
mx.core::Container/http://www.adobe.com/2006/flex/mx/internal::addingChild()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:3306]
        at
mx.core::Container/addChildAt()[C:\dev\GMC\sdk\frameworks\mx\core\Container.as:2285]





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

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

<*> 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