Re: [flexcoders] How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread Nate Beck
It's exactly the same as a standard Event. As you can see in the Language Reference ( http://livedocs.adobe.com/flex/3/langref/mx/events/DynamicEvent.html): var event:DynamicEvent = new DynamicEvent("credentialsChanged"); event.name = name; event.passsword = password; // misspelling won't be

[flexcoders] How to register a dynamicEvent in an Actionscript class

2009-01-12 Thread flexcoder2008
I have seen numerous examples of registering a dynamicEvent in a component's mxml such as: [Event (name="rowSelected", type="mx.events.DynamicEvent")] If I have an actionscript class that dispatches a dynamicEvent, what is the syntax for this? I want to dispatch a dynamicEvent from an actionscri