0

I have a auto open popup using Actionscript 3 and I don't want it to have any of the menu bars, scroll bars none of that, can anyone help me, here is my code:

var url:String = "https://www.google.co.uk/?gws_rd=ssl";    

var request:URLRequest = new URLRequest(url);
try {

 navigateToURL(request, '_blank'); // second argument is target
} catch (e:Error) {

trace("Error occurred!");
}
Soner Gönül
  • 97,193
  • 102
  • 206
  • 364

1 Answers1

1

You need to use ExternalInterface. Call JS function window.open with next arguments:

ExternalInterface.call("window.open", 'http://stackoverflow.com','winname', 
'directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=350');
Daniil Subbotin
  • 6,138
  • 5
  • 20
  • 24