I usually have seen used and use it like this:
<mx:Metadata>
   [Event( name="eventName",type="fully.qualified.classpath" )]
</mx:Metadata>


markflex2007 wrote:

Hi,

I confuse with <mx:Metadata> now

I have the following <mx:Metadata> in code

<mx:Metadata>
[Event('add')]
[Event('update')]
[Event('cancel')]
</mx:Metadata>

Do you think the following code work with the <mx:Metadata>?

dispatchEvent( new Event( "add" ) );

Thanks

Mark

Reply via email to