A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: how do you make a floating layout ?

  1. #1
    Junior Member
    Join Date
    Apr 2007
    Posts
    8

    how do you make a floating layout ?

    hi there

    Is there a way to make a centered layout, that is centered both horizontally and vertically?

    I can set the FLASH ALIGNMENT settings to Center horizontally and vertically within the html publish settings, but when viewed in any browser, the site anchors only in the top left of the browser

    to give an example of what i would like to do, see this site which floats perfectly in the center of the browser,

    www.habitat.net

    many thanks for any advice or suggestions

  2. #2
    Senior Member
    Join Date
    Mar 2005
    Location
    london/ny
    Posts
    126
    hiya
    you need to add a little code to your html page to get this effect. if you can use dreamweaver, this is what you need to do:
    take your flash-created html page and open it up in dreamweaver. then create a table on the page. make the table one cell high, one cell wide. drag your swf inside the table and align it to the center. make the dimensions of the table 100% width, 100% height. the table will then fill the page with your flash content sitting in the middle.
    hope this is straight-forward for you.
    emma.

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