Are you doing this in the Flash 9 preview IDE or Flexbuilder 2? If you're in Flash, make sure you have a TextArea component in your library.
Jason Merrill Bank of America Learning & Organizational Effectiveness >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of August Gresens >>Sent: Tuesday, February 13, 2007 12:33 PM >>To: Flashcoders mailing list >>Subject: Re: [Flashcoders] using mx.controls package in an >>Actionscript 3.0 Project >> >>The code is in a class extending Sprite.. The Sprite is in >>the display list because there are bunch of graphics (bitmaps >>and such) that I'm adding using "addChild" right next to it >>and these are showing up... >> >>Thanks, >> >>A >> >>On 2/13/07, T. Michael Keesey <[EMAIL PROTECTED]> wrote: >>> >>> Where is this code placed? >>> >>> On 2/13/07, August Gresens <[EMAIL PROTECTED]> wrote: >>> > Hello >>> > >>> > I'm trying to use an mx.controls.TextArea in my >>ActionScript 3.0project. >>> > >>> > var textArea:TextArea = new TextArea(); textArea.text = "foo"; >>> > addChild(textArea); >>> > >>> > Nothing shows up - I suspect there is more to using flex >>controls in >>> > an >>> AS3 >>> > project. >>> > >>> > Can anyone point me to some info about this? >>> > >>> > Thanks, >>> > >>> > August >>> > >>> > -- >>> > --------------------------------------------------------- >>> > -------------------------------------------------------- >>> > >>> > August Gresens >>> > Technical Director >>> > Black Hammer Productions, NYC >>> > [EMAIL PROTECTED] >>> > >>> > --------------------------------------------------------- >>> > -------------------------------------------------------- >>> > _______________________________________________ >>> > 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 >>> > >>> >>> >>> -- >>> T. Michael Keesey >>> Director of Technology >>> Exopolis, Inc. >>> 2894 Rowena Avenue Ste. B >>> Los Angeles, California 90039 >>> -- >>> The Dinosauricon: http://dino.lm.com >>> Parry & Carney: http://parryandcarney.com ISPN Forum: >>> http://www.phylonames.org/forum/ >>> _______________________________________________ >>> 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 >>> >> >> >> >>-- >>--------------------------------------------------------- >>-------------------------------------------------------- >> >>August Gresens >>Technical Director >>Black Hammer Productions, NYC >>[EMAIL PROTECTED] >> >>--------------------------------------------------------- >>-------------------------------------------------------- >>_______________________________________________ >>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