;

PDA

Click to See Complete Forum and Search --> : How can I do this? Is it even possible?


insc
05-22-2007, 09:36 PM
Hi
I have a flash web-site but previous to it I have a "splash screen" and what I want is at the "splash screen" to identify the user's screen resolution, and if it under 1280x1024 enter the flash web-site with the browser window MAXIMIZED otherwise go normal (if it is over 1280x1024).
Can I even do this?
Thanks,
Tiago

Oeldroop
05-26-2007, 07:37 AM
hi tiago

you get the resolution using javascripts screen.height and screen.width

you could define the size of the flash-site by opening it with window.open().

you could also scale it window after it has opened with window.resizeTo(w, h). call it with the onLoad-Event in the body-tag.

bye
droop