Link to home
Start Free TrialLog in
Avatar of Justice75
Justice75

asked on

How do I hide the address bar while creating a pop up window in Flash

Hi All,

I have a quick question.  How do I hide the address bar of a pop up window that I have created in Flash?  I have seen a few articles that state that we can no longer hide the address bar.  Is this correct?  It works on an older version of IE (6)  but does not work in Firefox.  Any help on this would be greatly appreciated.  

Thanks,

Jus
fileNow.onRelease = function() {
	
	if (ExternalInterface.available) { ExternalInterface.call("window.open", "http://www.adobe.com", "win", "height=200,width=300,toolbar=no,scrollbars=yes, location=no"); 
} else 
var jscommand:String = "window.open('http://www.adobe.com','win','height=200,width=300,toolbar=no,scrollbars=yes, location=no');"; getURL("javascript:" + jscommand + " void(0);");
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of CyanBlue
CyanBlue
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Justice75
Justice75

ASKER

Thanks but the code doesn't seem to work with the newer browser.

Jus
Can you post the code you have and define the browsers that you are having problem with??

CyanBlue
Hi...

on (release) {
getURL ("javascript:NewWindow=window.open('http://myspace.com','newWin','width='+screen.availWidth+',height='+screen.availHeight+',left=0,top=0,toolbar=No,location=Yes,scrollbars=No,status=No,resizable=No,fullscreen=No');  NewWindow.focus();      void(0);");
}

The previous code is listed above.  Neither is working in Firefox 6...

Thx,
Jus

THIS IS THE CODE FROM THE PAGE ON THE POP UP WINDOW:
It didn't work in Firefox 5.0 or IE....
 
 
on (release) {
getURL ("javascript:NewWindow=window.open('http://www.myspace.com','newWin','width='+screen.availWidth+',height='+screen.availHeight+',left=0,top=0,toolbar=No,location=No,scrollbars=Yes,status=No,resizable=No,fullscreen=No');  NewWindow.focus();      void(0);");
}
 
 
Jus

Open in new window