basically i make it in flash, when i test the swf. file i get a message saying
“Safari can’t run the script “var myWin; if(!myWin || myWin.closed){myWin = window.open(‘mock4.swf’,‘Nishant Shukla’,‘width=1024,height=768,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,top=’+((screen.height/2)-(384))+’,left=’+((screen.width/2)-(512))+’’)}else{myWin.focus();};void(0);” because Safari doesn’t allow JavaScript to be used in this way.”
but when i click the script on the tutorial it pops up fine? have i missed something out?.. iv uploaded it to a temporary host online and still it doesnt work…
basically i make it in flash, when i test the swf. file i get a message saying
“Safari can’t run the script “var myWin; if(!myWin || myWin.closed){myWin = window.open(‘mock4.swf’,‘Nishant Shukla’,‘width=1024,height=768,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,top=’+((screen.height/2)-(384))+’,left=’+((screen.width/2)-(512))+’’)}else{myWin.focus();};void(0);” because Safari doesn’t allow JavaScript to be used in this way.”
but when i click the script on the tutorial it pops up fine? have i missed something out?.. iv uploaded it to a temporary host online and still it doesnt work…
I am not sure what the IE issue might be on this. Someone else might.
[QUOTE=rkoes;2345609]right cheers, iv run it on the server, its now working ok… however it doesnt run on internet explorer??? =/ says error on page and nothing pops up[/QUOTE]
I have a similiar issue. My problem is, is that I need it to work locally, because my project will be put to a dvd so users can access it on their HD. Is there a solution to call js through flash locally?