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)

10+ Year Member

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)

5+ Year Member

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.

Featured Threads

Hot Threads This Week

Hot Threads This Month