dcsimg
A Flash Developer Resource Site

Results 1 to 10 of 10

Thread: How do I centre my flash movie?

  1. #1
    Member
    Join Date
    Jul 2003
    Posts
    45

    How do I centre my flash movie?

    I want to centre my flash movie in the I.E browser. How can I do this?

  2. #2
    Open a html editor, open the published version of your .swf, the select the .swf, center.

    Or...

    Drop your swf in a table in a html editor, and center the table.

  3. #3
    Junior Member
    Join Date
    Aug 2003
    Posts
    9

    try <center>

    go into your html file and enclose the <object></object> tags with <center> tags <center><object>flash generated stuff</object></center>

  4. #4
    Junior Member
    Join Date
    Aug 2003
    Posts
    9

    OOPS on the <center>

    sorry about that first reply. I was trying to tell you to place the center html tags around the flash generated object html tags located in your html file

  5. #5
    Japanese l337 TRJNET's Avatar
    Join Date
    Mar 2001
    Location
    Toronto, Canada
    Posts
    399
    hey I was wondering the same thing, and I used the "
    PHP Code:
    <center
    " tag in my html file for this layout Im working on, but it did center the layout at the top center on the page when i checked it out on the net, and also at full-screen, I want the layout to be centered in the very middle of the page, not at the top-middle area, I heard dreamweaver mx is a good way of achieving a fully-centered site

    Is this true ? And how do you do it exactly, with dreamweaver mx (i have it) or should i just add some coding ? I just need some instruction with this in order to achieve a professional look..


    Any help would be greatly appreaciated
    Last edited by TRJNET; 08-07-2003 at 07:07 PM.
    consultant / contractor / designer

  6. #6
    Junior Member
    Join Date
    Aug 2003
    Posts
    9

    Use style attribute within center tag

    I think if you try "style=vertical-aling:center" within the center tag things should be centered in the middle of the window.

  7. #7
    Japanese l337 TRJNET's Avatar
    Join Date
    Mar 2001
    Location
    Toronto, Canada
    Posts
    399
    thnx Ill try that But I dont understand what u mean about putting that coding inbetween the center tags, because it is just one tag, its not 2 tags, all u have to put in is this for basic centering, but like is that piece of code, is all you have to into it ?

    PHP Code:
    <center

    Like do you to put that center tag right beside it or like explain it a little more.
    Last edited by TRJNET; 08-07-2003 at 08:29 PM.
    consultant / contractor / designer

  8. #8
    Junior Member
    Join Date
    Aug 2003
    Posts
    9

    The center syntax

    here's how to insert, I hope this helps:

    PHP Code:
    <center style=vertical-align:center>
    the object stuff is here
    </center

  9. #9
    Japanese l337 TRJNET's Avatar
    Join Date
    Mar 2001
    Location
    Toronto, Canada
    Posts
    399
    oo othnx !
    consultant / contractor / designer

  10. #10
    Member
    Join Date
    Jul 2003
    Posts
    45

    How do i constrain the dimensions?

    I also would like to constrain the dimensions of my site so they stay the same when the browser is adjusted. Does anyone know the html for this?

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