# Web site sized?

**URL:** https://forum.kirupa.com/t/web-site-sized/42088
**Category:** Uncategorized
**Created:** [February 5, 2004, 1:21am UTC](https://forum.kirupa.com/t/web-site-sized/42088 "2004-02-05T01:21:06Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![yk001](https://avatars.discourse-cdn.com/v4/letter/y/ecccb3/32.png) [@yk001](https://forum.kirupa.com/u/yk001)
#### Post date: [February 5, 2004, 1:21am UTC](https://forum.kirupa.com/t/web-site-sized/42088/1 "2004-02-05T01:21:06Z")

</div>

when you enter a site with flash animation, a flash animation pops up and takes up the entire screen(tool bar and all)… how can this be done?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 5, 2004, 8:53am UTC](https://forum.kirupa.com/t/web-site-sized/42088/2 "2004-02-05T08:53:06Z")

</div>

export the .fla as a .swf and a .html. Then make a welcome screen with a link to the flash/html. In this link must be the following:

```auto

<a href="thnx.html" onClick="window.open('flash.html', '', 'fullscreen')">[click here]</a>

```

This will make the page open up at full window size without toolbar 'n stuff.

good luck with it.

[edit]  
Hey!! This was my 100th post!! Yaj me!!!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 5, 2004, 9:33am UTC](https://forum.kirupa.com/t/web-site-sized/42088/3 "2004-02-05T09:33:47Z")

</div>

I tried it this way:

[COLOR=blue]\<a href=“flash.swf” onClick=“window.open(flash.swf’, ‘’, ‘fullscreen’)”\>[Full Screen]\</a\>[/COLOR]

My question is: when only Flash pops up and occupies the entire screen - how can I close the window without Alt+Tab (PC)?  
How can I close Flash from inside of Flash?

Thx!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 5, 2004, 3:46pm UTC](https://forum.kirupa.com/t/web-site-sized/42088/4 "2004-02-05T15:46:21Z")

</div>

I’m not really sure, but maybe you can use fscommand, it’s in the actionscript dictionary.

this works with a standalone player, but I don’t know if it will also work on the internet. Maybe if you use a simple javascript…window.close()?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 6, 2004, 1:14am UTC](https://forum.kirupa.com/t/web-site-sized/42088/5 "2004-02-06T01:14:10Z")

</div>

here… take a look at what this korean movie site has… its complete flash with auto load… anyone have any idea how this can be achieved?  
[www.ghost3.com](http://www.ghost3.com)

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [February 6, 2004, 8:29am UTC](https://forum.kirupa.com/t/web-site-sized/42088/6 "2004-02-06T08:29:15Z")

</div>

Like I said, it uses JavaScript to load a pop-up that contains the .swf. It loads automatically because in the body it calls an onLoad function.

in the HEAD tag:  
\<script language=“JavaScript”\>  
\<!–  
function fullscreen(theURL) {  
window.open(theURL, ‘’, ‘fullscreen=yes, scrollbars=0’);  
}  
// --\>  
\</script\>

in the body:

\<body onLoad=“fullscreen(‘main.htm’)”\>
