homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
Forum Library, Charter, Moderator: open

Flash and Shockwave Forum

Making swf height and width scale to container size
currently using jquery flash embed, but open to other options
master w bates III

5+ Year Member

Msg#: 3936549 posted 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?


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / Flash and Shockwave
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved