Argh: AS3 Event Dispatcher views an event NOT as a class + type property, but just as a type property. Therefore:
new CustomEvent("onRollOver") is detected (and subsequently incorrectly cast) as new MouseEvent(MouseEvent.ROLL_OVER)
Very surprising.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment