Can you do a use example?
Thanks.
_
De: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] Em nome
de John C. Bland II
Enviada em: sexta-feira, 15 de dezembro de 2006 02:02
Para: flexcoders@yahoogroups.com
Assunto: Re: [flexcoders] Creating Events
Here is a custom event
PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Creating Events
Here is a custom event class. Just change LevelEvent to whatever you
want and the public var level to whatever custom data you want/need.
But...you only need this if you need to pass some sort of data with your
event
I need create a personalized event in my class in AS3. In AS2 I use
the dispatchEvent comand.
this.dispatchEvent( { type : onResult, target : this, data :
result_arr } );
How do I do in AS3? See my code below.
package as3.db
{
import flash.net.NetConnection;
import
Here is a custom event class. Just change LevelEvent to whatever you want
and the public var level to whatever custom data you want/need. But...you
only need this if you need to pass some sort of data with your event. You
could easily do dispatchEvent(new Event(myEventName)) and it'll work fine.
4 matches
Mail list logo