kritzia
07-11-2005, 11:56 PM
hi,
i have an html file that has a javascript function. for example:
function openASOrg(){
window.open('http://www.actionscript.org/','***************');
}
when i call this function from flash, it work fine. for example:
button1_mc.onRelease = function (){
getURL("javascript:openASOrg();");
}
but if i have another button on the same movie that lnks to an .exe file (or any other non html file). for example:
button1_mc.onRelease = function (){
getURL("http://somesever.com/myexe.exe");
}
IE links to the .exe file and opens up a download dialogue box and i can download the file but when i go back to the flash movie and click on button1_mc, it no longer called that javascript function above and i get a Object error. :confused:
the work around for this was to sniff for PC IE browsers then open the .exe file in a new window but with XP SP2, it does not link to the exe.
any help or insight would be appreciated. thanks!
i have an html file that has a javascript function. for example:
function openASOrg(){
window.open('http://www.actionscript.org/','***************');
}
when i call this function from flash, it work fine. for example:
button1_mc.onRelease = function (){
getURL("javascript:openASOrg();");
}
but if i have another button on the same movie that lnks to an .exe file (or any other non html file). for example:
button1_mc.onRelease = function (){
getURL("http://somesever.com/myexe.exe");
}
IE links to the .exe file and opens up a download dialogue box and i can download the file but when i go back to the flash movie and click on button1_mc, it no longer called that javascript function above and i get a Object error. :confused:
the work around for this was to sniff for PC IE browsers then open the .exe file in a new window but with XP SP2, it does not link to the exe.
any help or insight would be appreciated. thanks!