Export to GitHub

mad-components - issue #4
Patch for /trunk/MadComponentStuff/src/MadComponentsNavigation.as
Posted on Jun 5, 2011 by
Swift Bird
Bug demonstration: set autoBack=false and listen on the backButton for UIButton.CLICKED event. firstList function does not get called.
Comment #1
Posted on Jun 5, 2011 by Grumpy BirdNot a bug - (just an inconsistency in the way my component work).
The backButton and rightArrow don't dispatch a UIButton.CLICKED event. They dispatch MouseEvents.
(But, The rightButton is a subclass of UIButton, and dispatches UIButton.CLICKED)
So change the listener to detect MouseEvent.MOUSE_UP ... and this example works.
Status: Done
Labels:
Type-Patch