A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: controling the resizing

  1. #1
    Junior Member
    Join Date
    Dec 2005
    Posts
    26

    controling the resizing

    http://www.a-nt.com/

    Check out the site above. How do you control the resizing of different objects in the scene when the user resizes the page. If you look at the page the upper right links, news box, and music player all stay at the right of the page and the background image stays in the bottom right.

  2. #2
    Senior Member whispers's Avatar
    Join Date
    Mar 2001
    Location
    CFA2h (respect the HEX)
    Posts
    12,756
    hi, what you want to research is the following:

    1.) fullscreen and allowscale
    2.) Stage.onResize
    3.) Stage.align

    this will let you accomplish what you asked..

    you will also need to know how to add listeners to the "stage' so that when it resizes..the objects move correctly.

  3. #3
    Junior Member
    Join Date
    Dec 2005
    Posts
    26
    Awesome I found a lot of good information out there. Thanks for pointing me in the right direction

  4. #4

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