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
Yes.
- Original Message -
From: markflex2007
To: flexcoders@yahoogroups.com
Sent: Monday, August 25, 2008 4:26 PM
Subject: [flexcoders] mx:Metadata?
Hi,
I confuse with mx:Metadata now
I have the following mx:Metadata in code
mx:Metadata
[Event('add')]
[Event
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')]
Just to clarify, the metadata for events aren't actually necessary in order
to dispatch events, it's mainly to aid the IDE. But if you get the metadata
wrong and you use auto-complete in your code, you may end up listening for
the wrong events :)
-Josh
On Tue, Aug 26, 2008 at 7:31 AM, Jake
4 matches
Mail list logo