Thanks Federico
On Thu, Dec 12, 2013 at 2:37 PM, Federico De Maddalena < [email protected]> wrote: > I resolve this issue listening KeyboardEvent.KEY_DOWN event and then check > if key pressed is Keyboard.BACK > This is useful for android system > Hope this helps you > > -----Messaggio originale----- > Da: Sumudu Chinthaka [mailto:[email protected]] > Inviato: giovedì 12 dicembre 2013 10.02 > A: [email protected] > Cc: [email protected] > Oggetto: FlexEvent.BACK_KEY_PRESSED does not fire on FirstView > > Hi All > > i have being working on a mobile app with some Popups creating upon user > inputs in the applications first view. when user click device back button i > want to close the popups instead of closing the app. > > I can listen to BACK_KEY_PRESSED event and preventDefault() to stop > viewnavigator going in to a previous view, but this is not working in the > FirstView > > i found this jira relating to the same issue > > https://issues.apache.org/jira/browse/FLEX-26452 > > does anyone have a fix for this > or what are the workarounds > > simply i want to close Popupus if there is one open in the first view > instead of closing the app > > Thanks > Sumudu >
