Flash Help :Window load size and Allignment

  • hFry
  • Novice
  • Novice
  • User avatar
  • Posts: 21

Post 3+ Months Ago

Window load size and Alignment :

For my website

I want the contents of the website to be centered within the Web browser window and or I would like it so the window is re-sized so that it assists the style.

Can anyone assist me in accomplishing this.

again. im using flash. actionscript. 2.0

thanks.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Posts: 1828
  • Loc: In the Great White North

Post 3+ Months Ago

do you have a 100% by 100% swf or do you have a fixed size swf and want that swf to be placed in the center of the stage?
  • hFry
  • Novice
  • Novice
  • User avatar
  • Posts: 21

Post 3+ Months Ago

Uhh...
Shoot hold on.. ok fixed being a certin Format for say 400x600 pixels or . . .
  • hFry
  • Novice
  • Novice
  • User avatar
  • Posts: 21

Post 3+ Months Ago

i have a fixed size...
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

then you could add a div to the page and make thediv align center with the flash inside the div:
HTML:
Code: [ Select ]
<div id='container'>
... flash stuff in here ...
</div>
  1. <div id='container'>
  2. ... flash stuff in here ...
  3. </div>

CSS:
Code: [ Select ]
div#container{
padding:0px;
margin:0px auto;
}
  1. div#container{
  2. padding:0px;
  3. margin:0px auto;
  4. }
  • hFry
  • Novice
  • Novice
  • User avatar
  • Posts: 21

Post 3+ Months Ago

righteous thank you very much for the help. I will Credit this site for assistance On my Portfolio Website. you guys are a very rare group of Individuals. thanks again.
  • righteous_trespasser
  • Scuffle
  • Genius
  • User avatar
  • Posts: 6230
  • Loc: South-Africa

Post 3+ Months Ago

it's a pleasure ...

Post Information

  • Total Posts in this topic: 7 posts
  • Users browsing this forum: Skrillz1 and 88 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.