Non-visuals that implement IMXMLObject can have ids. See source for ListCollectionView. Otherwise, components that are IDeferredInstantiationUIComponents end up in the descriptors.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Hilliard Sent: Monday, April 21, 2008 5:35 AM To: [email protected] Subject: [flexcoders] MXML, visual/non-visual classes and the id property Hello all, Just wondering, does anyone know what magic the MXML compiler uses to decide that visual classes declared in MXML get their id properties recorded in component descriptors and set when instantiated, whilst non-visual classes get an empty string if they have an id property? I was looking around for some metadata in the core classes that might do the trick with no success. Thanks, Robin ! ROBIN HILLIARD Chief Executive Officer [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> RocketBoots Pty Ltd Level 11 189 Kent Street Sydney NSW 2001 Australia Phone +61 2 9323 2507 Facsimile +61 2 9323 2501 Mobile +61 418 414 341 www.rocketboots.com.au <http://www.rocketboots.com.au>

