A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: What do I do to allow my files to auto adjust to the size of the html browser window?

  1. #1
    Junior Member
    Join Date
    Mar 2004
    Posts
    10

    What do I do to allow my files to auto adjust to the size of the html browser window?

    How do I allowscale of my .swf file when I embed the file in my html file for the browser window? I've tried using the FScommand "allowscale","fullscreen" and so on, but I'm lost on this one guys. What do I do to allow my files to auto adjust to the size of the html browser window?

    Thanks,

    old_newbie101

  2. #2
    No I can't do it by tommorow.. 1stbite's Avatar
    Join Date
    Feb 2003
    Location
    UK
    Posts
    1,300
    in publish settings (ctrl+ shift +f12) set the html options for dimensions to percent, then make sure the width and hieght are set to 100, and publish your movie.

    hope that helps
    and in a blink of an eye...
    Media and Multimedia Courses in Nottingham - First Diploma | IMedia | HND | Foundation Degrees | BA(Hons) Top Ups.

    Give a Twit a chance!

  3. #3
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017
    Like 1stbite said, set the width/height to 100%. Also, if you don't want your movie to scale, only to take up the whole window, add this to your embed params:
    Code:
     <param name=scale value=noscale>
    Also, to prevent the scrollbar from showing up on the side of the screen (which is ugly), try using:
    Code:
    <style type=text/css>
    body{ overflow-y:hidden }
    </style>
    just below the body tag.

    Hope that helps.

  4. #4
    Junior Member
    Join Date
    Mar 2004
    Posts
    10

    Thanks to you both.

    Hey,

    Thanks for the input, you guys saved me a little headache.


    Old_newbie101

  5. #5
    the friendly canadian DaVulf's Avatar
    Join Date
    Feb 2004
    Location
    Singapore
    Posts
    2,017
    Glad to have helped. Happy flashing!

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