With the basic component ready, you can add the list component for your menu, as shown in the following listing; the title for the view has also been changed from BrowseView to Rotten Tomatoes.
14 popView As indicated by the name, popView pops the current view from the ViewNavigator and returns you to the last view in the stack. If you don’t specify a transition, then the default 34 CHAPTER 2 Get going with Flex Mobile slide-to-the-left transition is used. The main thing to take away is that popView removed only one view from the stack, the current view. 15). 15 popToFirstView This ultra-helpful function pops off all the views in the stack and returns the user to the first view. 16 popAll The popAll method removes all the views including the firstView.