Hello everyone =). I am kind of new to actionscript 3.0. I have been working for the last two days trying to figure out how to create a browser window popup that has the toolbar, menubar, etc disabled. I have scoured the internet looking for tutorials, but am having no luck making it work. Everything I have found is for Actionscript 2.0.

Here is the code I have been using:

Javascript:

Code:
<script language="javascript">

function xyzbtn(page) {
  Openwin = this.open(page,"XYZ Technologies","toolbar=no,menubar=no,scrollbar=no,location=no,width=648,height=116");
}

</script>
Flash code:
Code:
EBIconBtn.onRelease = function() {
  navigateToURL(new URLRequest("javascript:EBIcon('logos/EB2.jpg')");
}
Any help would be greatly appreciated. Thanks