RE: [flexcoders] events? Should I use mx.events or flash.events?

2006-11-18 Thread Gordon Smith
In general, you use both in a Flex app. Low-level events that the Flash
Player defines have classes in the flash.events package. Higher-level
events that the Flex framework defines have classes in the mx.events
package. For example, a "click" event is a flash.events.MouseEvent
because the Flash Player actually dispatches this event. But an
"itemClick" on a row in a List control is an mx.events.ListEvent because
it is dispatched by a Flex control.

 

- Gordon

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of dj
Sent: Friday, November 17, 2006 2:37 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] events? Should I use mx.events or flash.events?

 

What's the difference between the two?

Thanks,
Patrick

 



Re: [flexcoders] events? Should I use mx.events or flash.events?

2006-11-18 Thread Igor Costa

Depends on what are you going to apply it.

mx.events it's used to Flex Events and elements packages.

flash.events it's used to the new DOM of elements that could used to extend
or new components that are coming throw it, wich also supports
EventDispatcher base class for it


Regards.


On 11/17/06, dj <[EMAIL PROTECTED]> wrote:


  What's the difference between the two?

Thanks,
Patrick

 





--

Igor Costa
www.igorcosta.com


[flexcoders] events? Should I use mx.events or flash.events?

2006-11-17 Thread dj
What's the difference between the two?

Thanks,
Patrick