|
Hi vijay, If you're saying you want to be able to get to a component that's located in the MXML file from your ActionScript Class, you could also do it like this: //some useful imports import mx.controls.TextArea; //import the component into the class import mx.core.Application; //for communicating with the main app //create a variable to reference the component private var _ta:TextArea; //define the variable inside your constructor function _ta = Application.application.myTA; //myTA being the id you gave the component in the MXML And from there you can communicate from the class to the component. HTH... P E A C E Hasan hasan.otuome. www.marxmedia. thesourcecode. Adobe Certified Professional (Flash MX2004 Developer) __._,_.___ -- 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] Accessing Component in the class Hasan Otuome
- Re: [flexcoders] Accessing Component in the class julien castelain

