|
> Although, my example works too, but
can you tell why that is? Rich's code threw an RTE because he added
the TextField as a child of some Container, and Containers require their
children to be IUIComponents. Your example doesn't throw an RTE because you are
adding the TextField as a child of the Button, which is not a Container. Non-containers
allow any kind of DisplayObject to be added as a child. - Gordon From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Joost Nuijten Yeah, that should work. Although, my
example works too, but can you tell why that is? Anyway, I think the documentation of
TextField has to be updated. I added a comment to the livedocs. ~joost Van:
[EMAIL PROTECTED] Try creating an mx.core.UITextField instead of a flash.display. From: [EMAIL PROTECTED] I have a
simple app that I want to have text show up using a TextField. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
YAHOO! GROUPS LINKS
__,_._,___ |
- RE: [flexcoders] Simple TextField Question Gordon Smith
- RE: [flexcoders] Simple TextField Question Joost Nuijten
- Re: [flexcoders] Simple TextField Question Daniel Freiman
- RE: [flexcoders] Simple TextField Question Gordon Smith

