Centering a movie in FLASH 5

  • Chaosphere
  • Newbie
  • Newbie
  • User avatar
  • Posts: 11

Post 3+ Months Ago

Hey i have a site I am going to make...I am a N00b at this but anyway.... i want to make a movie centered in a browser instead of aligned left or right in the browser, how do i do that in Flash 5 :twisted:
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Voetsjoeba
  • Novice
  • Novice
  • User avatar
  • Posts: 31
  • Loc: Belgium, Ghent.

Post 3+ Months Ago

This is not a matter of Flash, rather of HTML. You can place this code around the object tags in the HTML code which will make it perfectly centered:

Code: [ Select ]
<TABLE WIDTH="100%" HEIGHT="100%" BORDER="0"><TR align="center" valign="middle"><TD>
<object>...</object>
</td></tr></table>
  1. <TABLE WIDTH="100%" HEIGHT="100%" BORDER="0"><TR align="center" valign="middle"><TD>
  2. <object>...</object>
  3. </td></tr></table>


:)
  • Chaosphere
  • Newbie
  • Newbie
  • User avatar
  • Posts: 11

Post 3+ Months Ago

thanks...but how and where do i do that ?
  • Voetsjoeba
  • Novice
  • Novice
  • User avatar
  • Posts: 31
  • Loc: Belgium, Ghent.

Post 3+ Months Ago

When you Publish your file, Flash will create a HTML file in which your SWF is embedded using the object tags:

Code: [ Select ]
<object>*Here goes a lot of code*</object>


Around that, you place the two lines I posted. I posted three, because I included the object tags to show you where exactly.
  • Chaosphere
  • Newbie
  • Newbie
  • User avatar
  • Posts: 11

Post 3+ Months Ago

Got it, thanks a lot !!!
  • Voetsjoeba
  • Novice
  • Novice
  • User avatar
  • Posts: 31
  • Loc: Belgium, Ghent.

Post 3+ Months Ago

You're welcome :)

Post Information

  • Total Posts in this topic: 6 posts
  • Users browsing this forum: No registered users and 8 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.