RE: [flexcoders] Creating Events

2006-12-17 Thread Stephen Gilson
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

Re: [flexcoders] Creating Events

2006-12-14 Thread John C. Bland II
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.