[flexcoders] relationship of mxml child tags and actionscript

2009-04-15 Thread gwangdesign
Hi, I am still looking for some general documentations about the guidelines as to how to write ActionScript custom components. It's clear that you can expose public properties, styles and event listeners of your custom components as MXML properties. But what are the general rules if I want to

Re: [flexcoders] relationship of mxml child tags and actionscript

2009-04-15 Thread Aaron Hardy
Geng, Use the DefaultProperty metadata tag in your AS class. Whatever property you specify will be the property to which your MXML children will be set. Here's a start: