does this help?

 private function nav(myUrl:String):void
   {
    var urlToNav:URLRequest = new URLRequest(myUrl);
    navigateToURL(urlToNav,"_blank");

//  use this to go to navigate, but keep it in the same window
//  navigateToURL(urlToNav,"_self");

  }

this code pops up a new window
you could construct and pass in a url such as
detail.php?detailid=1234 through actionscript...

you can call an actionscript upon doubleclick that calls a url such
as
url = 'detail.php?detailid=' . datagrid.selectedItem.detailid  .
'&height=40&width=80&somethingelse='.somethingelse;
nav(url);

hope this helps,

mauricio zuniga
[EMAIL PROTECTED]




From: flexcomponents@ yahoogroups. com [mailto:flexcompone [EMAIL PROTECTED]
com] On Behalf Of subeesh a
Sent: Monday, March 05, 2007 2:37 PM
To: flexcomponents@ yahoogroups. com
Subject: [flexcomponents] Open new browser window from flex app

Hi all,

I am building a flex app in which when i click on an item in datagrid, i
want its details to be displayed in a new browser window.Can anyone help me
regarding this. I want to know how to pass data to the new browser window
from the flex app.

Thanks

Subeesh

Reply via email to