flash as2: how can i create custom event with parameters ?

Posted by ufk on Stack Overflow See other posts from Stack Overflow or by ufk
Published on 2010-04-29T11:44:21Z Indexed on 2010/04/29 11:47 UTC
Read the original article Hit count: 135

Filed under:
|

Hiya. I would like to be able to create custom event with parameters and to dispatch them when needed.

in as3 i can create a class that extends flash.events.Event, add parameters to it's constructor and then use addEventListener and dispatchEvent where required.

how can I do so in ActionScript 2 ?

thanks!

© Stack Overflow or respective owner

Related posts about flash

Related posts about actionscript-2