Well, seeing as you're not posting the variables, you can try ExternalInterface.
var url : String = "http://adobe.com"; var vars : URLVariables = new URLVariables (); vars.userID = "userID"; vars.userName = "userName"; vars.sessionID = "sessionID"; url += "?" + String (vars); var target : String = "test"; var options : String = "height=100,width=150,toolbar=no,scrollbars=1,resizable=yes"; ExternalInterface.call ("window.open", url, target, options); --- In [email protected], "moni_singhal" <[EMAIL PROTECTED]> wrote: > > I am trying to convert my existing flex1.5 code to flex20 . > As getURL is replaced by navigateToURL so if in flex 1.5 the code > was like this: getURL("javascript:window.open('" > + UPLOAD_PAGE_URL > + "?userID=" + userID > + "&userName=" + userName > + "&sessionID=" + sessionID > + ",menubar=no,location=no,resizable=yes');void(0);", > "_self", > "POST"); > > As now i want to use navigateToURL(),so if i am passing the > urlRequest object to navigateToURL as my first argument and i want > to use javascript to modify the properties of my urlRequest object > then i am not able to do so. > my existing code in flex20 seems like this: > > var urlReq:URLRequest=new URLRequest("E:/flex/monika/a.html"); > navigateToURL(urlReq,'var x=javascript:window.open > ("","test","height=100,width=150,toolbar=no,scrollbars=1,resizable=ye > s");x'); > > So from this code am not able to resize my html page or control any > other properties of the html page.I dont know how to modify the > properties of that URLRequest(html page here). > > If anyone knows ,plz help me out. > > Thanks, > Monika > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

