[flexcoders] Using JavaScript with navigateToURL

2006-08-04 Thread moni_singhal
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,res

[flexcoders] Using JavaScript with navigateToURL

2006-08-04 Thread moni_singhal
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'); Make the 1st arg of you JS function the page URL, rather than i nthe URLRequest constructor ? If n

Re: [flexcoders] Using JavaScript with navigateToURL

2006-08-01 Thread Brendan Meutzner
Don't know what the problem is with your current implementation, but you could try moving your _javascript_ functionality out into the HTML file, and call the function with passed arguments via ExternalInterface... BrendanOn 8/1/06, karthikeyanik <[EMAIL PROTECTED]> wrote:

[flexcoders] Using JavaScript with navigateToURL

2006-08-01 Thread karthikeyanik
Hi, We have used javascript to open a window in getUrl. In Flex2.0, we have modified this to use navigateToUrl but the window properties does not work fine. For eg: In Flex1.5 - getURL("javascript:window.open ('test.html','myWindow','height=100,width=150,toolbar=no,scrollbars=1,r esizable=