I'm sorry, I don't completely understand that reasoning. If you create a class 
Foo that extends Component, you can use it in BXML just like any other 
component:

<my:Foo>
...
</my:Foo>

You don't need some intermediate parent:

<my:Bar>
  <content>
    <my:Foo>
    ...
    </my:Foo>
  </content>
</my:Bar>

(though the <content> tag could be optional if it was defined as the default 
property)

But without a concrete example, I'm really not sure what to suggest.

G

On Dec 2, 2010, at 10:44 PM, Bill van Melle wrote:

> Why not simply use the child element as the root? 
> 
> Because I want a class backing the bxml to provide behavior and whatnot.

Reply via email to