edoky145
07-24-2007, 07:18 AM
Hello all,
I am trying to open a browser window from flash projector using the following actionscript
on (release) {
getURL("javascript:var NewWindow=window.open('converse.htm', 'Converse', 'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,width=419,hei ght=365,left=523,top=225');NewWindow.focus();")
}
I think i have 2 problems.
1. I get the following error message "Safari can’t run the script “var NewWindow=window.open('converse.htm', 'Converse', 'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,width=419,hei ght=365,left=523,top=225');NewWindow.focus();” because Safari doesn’t allow JavaScript to be used in this way."
or
2. I get the security warning message that so and so file is trying to access the following local file.
Is there a way to do this? Any help would be greatly appreciated. I have attached the file here.
http://www.edleedesign.com/my_project.zip
Thanks all.
I am trying to open a browser window from flash projector using the following actionscript
on (release) {
getURL("javascript:var NewWindow=window.open('converse.htm', 'Converse', 'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,width=419,hei ght=365,left=523,top=225');NewWindow.focus();")
}
I think i have 2 problems.
1. I get the following error message "Safari can’t run the script “var NewWindow=window.open('converse.htm', 'Converse', 'toolbar=no,location=no,directories=no,status=no,m enubar=no,scrollbars=no,resizable=no,width=419,hei ght=365,left=523,top=225');NewWindow.focus();” because Safari doesn’t allow JavaScript to be used in this way."
or
2. I get the security warning message that so and so file is trying to access the following local file.
Is there a way to do this? Any help would be greatly appreciated. I have attached the file here.
http://www.edleedesign.com/my_project.zip
Thanks all.