Page is a not externally linkable
- Code, Content, and Presentation
-- Flash and Shockwave
---- Making swf height and width scale to container size


master_w_bates_III - 7:59 am on Jun 19, 2009 (gmt 0)


I am currently using jquery flash plugin to embed a slideshow swf into a fluid CSS layout. I am open to other embedding options.

I have a div with out height specified that I would like to embed the movie into. I have a short and wide flash move (900x 300).

How can I get the movie to fit in its container and proportionately scale its height and width when the window size is changed?

When I put an image in the box it scales proportionally to the size of the div as the div gets slimmer. When I do this with the swf it maintains it's height and displays the canvas background as the swf gets proportionally smaller.

Are there any simple embed properties that I can use to accomplish this?


Thread source:: http://www.webmasterworld.com/flash/3936549.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com