The second param of window.open is the name of the window. try inserting
a titel string or just a null...
getURL("javascript:window.open('epgee.mxml',null,'width=800');");
Or
getURL("javascript:window.open('epgee.mxml','My Title','width=800');");
HTH,
matt horn
flex docs
________________________________
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Ghislain Simard
Sent: Sunday, May 08, 2005 6:24 PM
To: [email protected]
Subject: [flexcoders] getURL strange javascript behavior
in a MXML file:
Why this is not working:
function getNature():Void{
if(nature.selectedData=='Neuf'){
getURL("javascript:window.open('epgee.mxml','width=800');");
}
}
This is working:
function getNature():Void{
if(nature.selectedData=='Neuf'){
getURL("javascript:window.open('epgee.mxml');");
}
}
Thank
________________________________
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]
<mailto:[EMAIL PROTECTED]>
* Your use of Yahoo! Groups is subject to the Yahoo! Terms
of Service <http://docs.yahoo.com/info/terms/> .
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/