A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: a little problem

  1. #1
    Junior Member
    Join Date
    Feb 2001
    Posts
    19
    After just a little bit of help if you can.

    I'm running a 1024x768 movie with settings of 70% and 50% in my browser alls working fine and i've also centred the movie which is great BUT it's centred in the middle of the browser to the top and i want it to centre middle of the browser with an even running border all the way round can you help it's really buging me cause its probally simple and i just can't work it out.

  2. #2
    Registered User
    Join Date
    Jun 2001
    Posts
    100

    HTML

    Use this HTML, it's tables withing tables usign a VALIGN tag, it's hard to put the flash right in the middle inside a page or even a table. But it's easy to put a table in the middle. This just puts the Flash inside that table. In the second table, change the sizes to whatever your flash is.

    <HTML>
    <HEAD>
    <TITLE>index</TITLE>
    </HEAD>
    <BODY bgcolor="#000000" topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0">
    <table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
    <tr>
    <td>
    <table border="0" cellpadding="0" cellspacing="0" align="center" valign="top" width="800" height="600">
    <tr>
    <td>

    INSERT FLASH HERE

    </td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </BODY>
    </HTML>

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