Related to the suggestion of using an application MXML tag that Mike Chambers suggested in that post, Ted Patrick recently posted an article in his blog on Code Behind in Flex 2:
http://www.onflex.org/ted/ Jason Merrill Bank of America Learning & Organizational Effectiveness >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] On Behalf >>Of Phil Chung >>Sent: Tuesday, February 13, 2007 5:56 PM >>To: Flashcoders mailing list >>Subject: RE: [Flashcoders] using mx.controls package in an >>Actionscript 3.0 Project >> >>http://chattyfig.figleaf.com/pipermail/flashcoders/2006-July/1 >>69075.html >> >>Curious to know if anyone has actually done it, but it sounds >>like it's, at the very least, not straightforward. Any >>reason why you don't want to set it up as an mxml project? >> >>Phil >> >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] Behalf >>Of August Gresens >>Sent: Tuesday, February 13, 2007 7:14 AM >>To: Flashcoders mailing list >>Subject: SPAM-LOW: [Flashcoders] using mx.controls package in >>an Actionscript 3.0 Project >> >> >>Hello >> >>I'm trying to use an mx.controls.TextArea in my ActionScript >>3.0 project. >> >>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 >> >>_______________________________________________ >>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