A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How can I do this? Is it even possible?

  1. #1
    Senior Member
    Join Date
    Nov 2004
    Posts
    110

    How can I do this? Is it even possible?

    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

  2. #2
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center