#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    2
    Rep Power
    0

    Question how to resize to full screen?


    hello, i am noobie in flash,
    i wanted to know how this website was made,
    http://www.mnh.si.edu/africanvoices/
    this website resizes to full screen depending on resolution,
    i tried 800x600, 1200x800, etc and its always displays full screen, how did they do it? also maybe its not a good idea to
    make a flash page that covers whole screen? thanks
  2. #2
  3. No Profile Picture
    Gotta get to the next screen..
    Devshed Supreme Being (6500+ posts)

    Join Date
    Nov 2003
    Location
    Legion of Dynamic Discord
    Posts
    6,678
    Rep Power
    3165
    Hi, you can use the Stage object to do that. It has a function called onResize. If you search around you can find some info on this. The idea is you link it to a function that will then be called each time the screen is resized. You can then use that to position your objects based on the new dimensions.
    Code:
       
    Stage.onResize = function()
       {
           myMenu._y = Stage.height - myMenu._height;
           myRightBorder = Stage.width - myRightBorder._width;
       }
    Dont really know if this is how they did it, but it's one way to do what you want...
    Quis custodiet ipsos custodes?
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2004
    Posts
    2
    Rep Power
    0

    Thumbs up


    awsome, thank you

Similar Threads

  1. How to resize frame according to screen resolution???
    By skuba in forum HTML Programming
    Replies: 10
    Last Post: January 5th, 2004, 06:51 PM
  2. automatic screen resize
    By wivellJ in forum HTML Programming
    Replies: 1
    Last Post: October 14th, 2003, 09:18 AM
  3. Open and close framesets as full screen pop-up windows?
    By jalbu in forum HTML Programming
    Replies: 1
    Last Post: November 23rd, 2002, 05:43 PM
  4. Open and close framesets as full screen pop-up windows?
    By jalbu in forum HTML Programming
    Replies: 1
    Last Post: November 22nd, 2002, 12:52 PM
  5. Full screen video in a full screen site
    By SuperFlu in forum HTML Programming
    Replies: 1
    Last Post: February 20th, 2002, 06:37 PM

IMN logo majestic logo threadwatch logo seochat tools logo