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], "Ram Bhardwaj" <[EMAIL PROTECTED]>
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 :)
>

Reply via email to