比如<view:ProductList product=".." select=""/> 其中product是自定义的属性,select为自定义的事件
在ProductList.mxml中
添加 [Bindable]
public var product:..
添加
<mx:Metadata>
[Event("select")]
</mx:Metadata>
转载于:https://www.cnblogs.com/fishert/archive/2007/03/02/661134.html