UIComponents that come from MXML tags have a non-null 'descriptor' property. The descriptor is an object containing the data that was specified on the MXML tag.. Gordon Smith Adobe Flex SDK Team
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of reflexactions Sent: Friday, December 07, 2007 12:27 AM To: [email protected] Subject: [flexcomponents] Detect method of instantiation Is there a way for a component to tell if it was automatically instantiated as part of an mxml document or whether it was instantiated from code by a developer calling "new". The component is not a container itself, but would be a child of a container. tks
