[Flashcoders] Why is good to extend an Event Class

2008-05-06 Thread Dwayne Neckles
Why is it good to extend the Event Class in your application? I understand that you can create your own events with it that are specific to your app but does anyone have any good tutorials/articles on this? I am a visual learner and I don't get it fully just yet.. Meanwhile I'll keep searching..

RE: [Flashcoders] Why is good to extend an Event Class

2008-05-06 Thread Mendelsohn, Michael
There is an excellent thorough chapter on this in the Moock's AS3 book. Well worth reading. - MM Why is it good to extend the Event Class in your application? I understand that you can create your own events with it that are specific to your app but does anyone have any good

Re: [Flashcoders] Why is good to extend an Event Class

2008-05-06 Thread Allandt Bik-Elliott (Receptacle)
i used a scrollbar class from the kirupa forum that extended the event class to accept the amount (in percent) that the bar was scrolling by - this allowed both the scrollbar and the scrolling object to receive the percent by listening to the event On 6 May 2008, at 17:21, Dwayne Neckles

Re: [Flashcoders] Why is good to extend an Event Class

2008-05-06 Thread Glen Pike
Hi, It's good to extend the Event Class because you can define your own event constants and also pass data around inside your event... The reason you do this is because you cannot rely on things in Flash don't happen in the same sequence all the time, so it's like asking someone to

Re: [Flashcoders] Why is good to extend an Event Class

2008-05-06 Thread Steven Sacks
It's not really important to understand the why behind extending Event in AS3. The reasons become self-evident over time as you use it. There's no reason not to, so best to just do so. The only reason you wouldn't is if you spent considerable time to deeply understand the event system in AS3