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 allow my client developers to 
define a property in my custom component using a MXML child tag (as opposed to 
a property)?

Like this:

<my:MyComp>
   <my:myChild color="0xFFFFFF" width="300">
      <mx:Label text={data}/>
   </my:myChild>
</my:MyComp>

Again, I am looking for _general_ guidelines. Thanks much.

-geng

Reply via email to