With this template, the HTML file will open with the SWF file filling 100% of the browser window, so there will be no border with close text.
Using the Chromeless Pop-up Full Screen Template
Use the action, Go To Url. In the URL field, add:
javascript:NewWindow("your.html", 480, 385, 0, 0, 0, 0, 0, 0)
Leave the target field blank.
- javascript:NewWindow— calls a new window to open
- "your.html"— name and location of the page
- 480, 385— widow size in pixels
The last six parameters (0, 0, 0, 0, 0, 0) represent the following settings respectively. For each parameter, 0 = show and 1 = hide.
- Location: displays the webpage’s URL
- Resizable: enable window resizing (Internet Explorer only)
- Scrollbars: enables scrollbars if image is larger than opened window
- Status Bar: shows the status at the bottom of the webpage
- Toolbar: shows or hides the browser’s tool bar
- Menu Bar: enable/disable Alt key
For example, to open an HTML page called, mypage.html in a 640x480px window with toolbars, the action will be:
- Source > Mouse Click; Action > Go To Url; URL = javascript:NewWindow("mypage.html", 640, 480, 0, 0, 0, 0, 1, 0); Target = empty.