I'm puzzled why this is OK:
<?xml version="1.0" encoding="utf-8"?>
<mx:VBox
xmlns:mx="http://www.adobe.com/2006/mxml"
initialize="init()"/>
but this is not:
<mx:VBox
xmlns:mx="http://www.adobe.com/2006/mxml"
uiEvent="handleUIEvent()"/>
<mx:Metadata>
[Event(name="uiEvent",type="com.xyz.common.UIEvent")]
</mx:Metadata>
UIEvent bubbles, and I wish to avoid adding a listener manually to each of
the dynamically-added children. I can add another container level or handle
the event in the controller, but it seemed like I should be able to add a
listener to "this" in MXML.