A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: How do I get my movie to fit in 800x600 web browser and also in 1024x768

  1. #1
    Junior Member
    Join Date
    Jan 2003
    Posts
    4

    How do I get my movie to fit in 800x600 web browser and also in 1024x768

    I have a flash site, that when loaded in a IE at res.1024x768 I can see it all. But when loaded at a smaller res. in IE like 800x600 I have to move the side scroll bars to view all the site. How can I get my flash site to auto resize to different peoples screen res so the scroll bars dont have to be used to view the site? Thanks for all your help.

    Ryan

  2. #2
    The world goes - hm.. TheCaramella's Avatar
    Join Date
    Dec 2001
    Location
    Second door on the right, next to the ice bear
    Posts
    642
    In the HTML-file you just set width and height in percent instead of pixels: width = "100%" height = "100%".
    If you use Dreamweaver or any other HTML editor, you just type your desired amount (percent), and finish with the %-sign.
    In Flash you choose File > Publish Settings > HTML. Dimensions is the second textbox from the top, chooce percent there. To make your movie fill the window complete, you have to add LEFTMARGIN="0" TOPMARGIN="0" MARGINWIDTH="0" MARGINHEIGHT="0" to the body tag.

  3. #3
    Junior Member
    Join Date
    Mar 2004
    Posts
    20
    a little late, but you've helped me out too. thnx

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