Skip to main content
rjoshicool
Inspiring
May 17, 2012
Question

Pop to a particular view in Flex Mobile

  • May 17, 2012
  • 2 replies
  • 854 views

I have a viewnavigator application where few views are added(to the stack). I need to pop to a particular view from one view. Flex provided only popView, popAll and popToFirst options. How can I pop to a particular view in the view stack?

This topic has been closed for replies.

2 replies

Colin Holgate
Inspiring
May 17, 2012

Until I read your question I hadn't heard of popView, but can't you pop to any view by doing a pushView(the view you want to go to), then a popView() would take you there.

rjoshicool
Inspiring
May 17, 2012

Doing that would me another copy of already existing view in the stack and it might also break the view order in the stack when working with other views in the stack.