Search code examples
actionscript-3apache-flexmobileflex4.5

How can you use popView in a view navigator app to return to the previous view?


Obviously poptoFirstView returns the user to the firstView. But say I want to just return to the previous? Yes, I know the user has the back button on their mobile device. But for usability sake. Someone said you can use popView to return to the latest one. But gave no hint of how to do so.


Solution

  • enter link description herepopView()was the hint!

    If you don't know how to use methods, you should always first refer to the AS3 reference, in your case the part about the ViewNavigator's popView() method: AS3 ViewNavigator