Thanks Rishi. Yes, I'm familiar with that post. The thing is that she calls (for instance) navigator.poppedViewReturnedObject.object;
The problem is that you can do that from within the mxml file, but I don't know how from an .as file. --- In flexcoders@yahoogroups.com, "Tandon, Rishi" <rishitandon123@...> wrote: > > I didn't got much time to read through it, but this might interest you > http://devgirl.org/2011/05/18/flex-4-5-mobile-data-handling/ > > > Regards, > Rishi Tandon > > > ________________________________ > From: stldvd <stldvd@...> > To: flexcoders@yahoogroups.com > Sent: Thursday, January 26, 2012 7:21 AM > Subject: [flexcoders] Calling ViewNavigator from an .as file > > > Â > Hi All, > > I need to call navigator.pushView from an .as file in an AIR mobile project. > But since I'm in an .as file and not in the .mxml file, how do I get access > to the ViewNavigator? I don't think I want to import ViewNavigator and > instantiate it because there should be only one in any given project. > > Anyone know? > > Thanks. >