Skip to main content
Participant
December 22, 2007
Question

problem whe calling url from flash with JS

  • December 22, 2007
  • 1 reply
  • 219 views
Hey,

I am using this code to call new window from flash:

button1.onPress = function(){
getURL("javascript:window.open('files/pictures/gallery.html','Picture Gallery','width=650, height=550, top='+((screen.height/2)-(500))+',left='+((screen.width/2)-(600))+',toolbar=no, scrollbars=no, resizable=no, menubar=no, status=no, directories=no, location=no'); void(0);");
};

When I play it on Firefox it's ok, but in IE 7 it doesn't work! It shows that is "error on page".

Can somebody help me to solve this problem?
This topic has been closed for replies.

1 reply

robdillon
Participating Frequently
December 23, 2007
Check to be sure that you have Javascript enabled in IE.