Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Put flash movie in vertical center of browser window

trying to get the movie to "float" to the middle of window vertically

11:36 pm on Sep 30, 2007 (gmt 0)

New User

10+ Year Member

joined:Jan 27, 2005
posts: 8
votes: 0

Using Flash 8 Professional - using the HTML that it generates to put movie into page.

I have seen Flash movies that move up and down the page as the window is re-sized [ Simple Truths website "Inspirational Movie" link does this for example ]

I don't know if this is done with HTML? (I have done "view source" and don't see anything that would accomplish this.)

If this is done with ActionScript, I am willing to study the subject, but don't know where to start for this effect. I have done various searches of the WW site, but haven't found this question addressed.

Anybody know how this is done? Thanks in advance.

2:45 pm on Oct 15, 2007 (gmt 0)

Junior Member

5+ Year Member

joined:Oct 15, 2007
votes: 0

Simply put the movie inside a <div></div> and then position the div however you like with CSS or inline. If you're not sure how to do this with CSS let me know and I'll try and walk you through it.