Look at mx.events.LowLevelEvents.as

The way it works, as soon as you add an eventlistener for one of the low
level events, it will replace onPress, onRelease, etc with new methods that
dispatch an event.

Code that's in your configuration folder is only looked at once when
starting flash, so if you add a trace statement in
mx.events.UIEventDispatcher, you may need to clear your aso cache and/or
restart Flash to see the change.

If you're modifying any of those classes (even for testing purposes), it's
better to make a copy of the tree and put it higher in your class path, so
that flash will check it again if you make changes.

I remember reading a couple of blog posts about lowlevel events, so I would
try googling for "mx v2 lowlevelevents"

--Brian

On 1/5/07, Fumio Nonaka <[EMAIL PROTECTED]> wrote:

Is the UIEventDispatcher class functioning?

[1] According to Flash 8 Component Language Reference, "the
UIEventDispatcher class is mixed in to the UIComponent class".  But the
main method, UIEventDispatcher.initialize(), does not seem to be called
as I inserted a trace() statement in the method to make sure.
http://livedocs.macromedia.com/flash/8/main/00004178.html

[2] The UIComponent class has several mouse events.  However it does not
have statements to dispatch mouse events.  It only has load/unload and
key events.

While I searched about this issue by Google, no useful information could
be found.  I wonder if few people use this class.

Any suggestions and comments would be very appreciated.

Regards,
--
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to