# ?help!

**URL:** https://forum.kirupa.com/t/help/12675
**Category:** Uncategorized
**Created:** [February 3, 2003, 11:55am UTC](https://forum.kirupa.com/t/help/12675 "2003-02-03T11:55:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mavis](https://avatars.discourse-cdn.com/v4/letter/m/f475e1/32.png) [@mavis](https://forum.kirupa.com/u/mavis)
#### Post date: [February 3, 2003, 11:55am UTC](https://forum.kirupa.com/t/help/12675/1 "2003-02-03T11:55:16Z")

</div>

I have created a website 900px by 600px, and need to know how to make the site so that its size is dependant on the users resolution.( I have had complaints of the text being too big in 800 by 600, but too small in 1600px by 1200px)

the site itself is created in flash 5 if that is of any use.(although wouldn’t it be something more to do with the html coding?

cheers to anyone that can help!!!

---

<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 3, 2003, 1:19pm UTC](https://forum.kirupa.com/t/help/12675/2 "2003-02-03T13:19:09Z")

</div>

sounds like you are allowing your swf to scale so you are at the mercy of the user’s browser window. i guess you’ll have to use a javasript function that determines the browser resolution and then selects the swf for that size. i think you will have to make multiple swfs.

i would recommend not scaling the swf so that it is always the same size. this way the font and images will stay the same size.

so the swf might fill a 800X600 window and only fill part of a 1024X768, but the swf itself will always be the same size (900X600).

hope this helps and good luck

---

<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 3, 2003, 2:02pm UTC](https://forum.kirupa.com/t/help/12675/3 "2003-02-03T14:02:44Z")

</div>

No no no no no no!! :!:

In the width and height parameters of the swf just put **100%** , and it will scale automaticly across the user’s window!!  
:cool:

---

<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 3, 2003, 2:18pm UTC](https://forum.kirupa.com/t/help/12675/4 "2003-02-03T14:18:41Z")

</div>

> No no no no no no!!

In the width and height parameters of the swf just put 100%, and it will scale automaticly across the user’s window!!

believe me … that’s a really bad idea :-\

> sounds like you are allowing your swf to scale so you are at the mercy of the user’s browser window. i guess you’ll have to use a javasript function that determines the browser resolution and then selects the swf for that size. i think you will have to make multiple swfs.

i would recommend not scaling the swf so that it is always the same size. this way the font and images will stay the same size.

so the swf might fill a 800X600 window and only fill part of a 1024X768, but the swf itself will always be the same size (900X600).

hope this helps and good luck

that’s a good idea 😏

you can detect the resolution through this line of code so you can redirect directly from flash

[color=red]System.capabilities.screenResolutionX  
System.capabilities.screenResolutionY[/color]
