This behaviour can not emulated precisely because there is no way for us to set the target and currentTarget properties. This is done by internal EventDispatcher code.
The EventDispatcher code works something like this: - check if the target property of the event has been set, if not set it - set the currentTarget property - check if the event has the bubbles property set to true - check if the class is a DisplayObject - check if the parent property is set - clone the event and dispatch it at the parent and repeat the above steps Greetz Erik On 4/2/08, Meinte van't Kruis <[EMAIL PROTECTED]> wrote: > > so how does it work internally for displayObjects? Can a developer emulate > this behaviours somehow?(cant imagine it since target and currentTarget > are > readonly) > > _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

