Sorry, I should have made it clear that I was addressing that question to the original poster.
There are absolutely cases, like yours, where navigateTo Url is the solution. I just wanted to make sure the OP was not working out of an html paradigm instead of a Flex RIA paradigm. I have seen that more than once. I have likened that to hitching a Maserati to a team of horses. Great seats, airconditioning, but... Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Friday, May 09, 2008 1:15 PM To: [email protected] Subject: [flexcoders] Re: Traversing between pages Well, in my case I am transitioning a huge PHP/Perl based intranet to Flex front ends. The "site", although linked loosely together with menu access to different "pages" is owned by different business units within the organisation. Each business unit wants ownership of their group of pages so in their infinite wisdom I have built separate Flex applications for each business unit and to get to each one through the menu system I have implemented (Also in Flex), I have to use navigateToURL. --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > The core of that is navigateToURL(). > > > > But I have to ask, why are you doing that, implementing the two "pages" > as separate applications? I hope you are not using Flex to build an > html app. Typical Flex apps never navigate the browser, but remain > continually resident. Keeping state on the client is one of the huge > benefits of a Flex app. > > > > Tracy > > > > ________________________________ > > From: [email protected] <mailto:flexcoders%40yahoogroups.com> [mailto:[email protected] <mailto:flexcoders%40yahoogroups.com> ] On > Behalf Of valdhor > Sent: Friday, May 09, 2008 9:10 AM > To: [email protected] <mailto:flexcoders%40yahoogroups.com> > Subject: [flexcoders] Re: Traversing between pages > > > > This may not all be required (Does that make sense?) but this is what I > do: > > var browserManager:IBrowserManager = BrowserManager.getInstance(); > browserManager = BrowserManager.getInstance(); > browserManager.init("", Application.application.pageTitle); > var url:String = browserManager.url; > var baseURL:String = browserManager.base; > var baseURLArray:Array = baseURL.split("/"); > var baseURLArrayLength:int = baseURLArray.length; > baseURL = ""; > for(var i:int = 0 ; i < baseURLArrayLength - 1 ; i++) > { > baseURL += baseURLArray[i] + "/"; > } > var newURL:String = baseURL + "mynewpage.php?var=value"; > navigateToURL(new URLRequest(newURL),"_top"); > > > --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Ram Bhardwaj" <rambhardwaj007@> > wrote: > > > > Hi All, > > > > I have created 2 different MXML applications (essentially... 2 > > different pages of a website built on flex) in in flex builder 3. > > Now, i want to navigate to the second application from the the > > first "on-click" of a button. (somethng like a response.redirect() > > method in JSP's)..... can anyone provide me any help regarding the > > problem??? > > > > P.S : both the applications are in the SRC folder of Flex 3 > > > > Thanks in advance > > rAmmy :) > > >

