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
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
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:
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=
4 matches
Mail list logo