obrigado
02-28-2008, 03:01 AM
I need some help getting my flash content to scale without hogging the whole browser window.
I want the content to scale to fit the width of the window, but I do NOT want the flash container to fill the space below the stage content with off-stage wasteland.
I've tried every possible combination of scale, width, height, wmode, and align values in the html file... nothing seems to work: I still get this unfortunate behavior.
Basically, I want the height of the flash container to remain at a fixed ratio to the dynamically scaling width value. (I need to put HTML content right below it) I tried setting the "width" value to 100% and leaving the "height" value blank... doesn't work, the height just remains fixed regardless of the width.
I suppose I could write some JavaScript to dynamically resize a a DIV containing the flash content, but is there a more elegant solution?
This demonstrates the problem:
http://molior.net/flash_crisis/
Thanks!
I want the content to scale to fit the width of the window, but I do NOT want the flash container to fill the space below the stage content with off-stage wasteland.
I've tried every possible combination of scale, width, height, wmode, and align values in the html file... nothing seems to work: I still get this unfortunate behavior.
Basically, I want the height of the flash container to remain at a fixed ratio to the dynamically scaling width value. (I need to put HTML content right below it) I tried setting the "width" value to 100% and leaving the "height" value blank... doesn't work, the height just remains fixed regardless of the width.
I suppose I could write some JavaScript to dynamically resize a a DIV containing the flash content, but is there a more elegant solution?
This demonstrates the problem:
http://molior.net/flash_crisis/
Thanks!