flash 100% width
- Started
- Last post
- 9 Responses
- blaw
i have a flash movie that is scaled 100% wide.
if i set the height to 100% it fills the browser with the .swf background color and vertically centers the content.
i would like the height to be proportional to the width, but not more.
thoughts?
- nooner0
i really didn't like my lunch today.
- UndoUndo0
set the html width and height to 100% and do the scaling in flash.
or use javascript to set the widths in html which could be a pain
- blaw0
for example:
http://www.primedesignsolutions.…i would like the white (which is the background color of the .swf) to go away and the .swf to be aligned to the top.
- jevad0
i really didn't like my lunch today.
nooner
(Mar 16 06, 12:35)hahahahah
- blaw0
anyone in the morning crew have ideas on this?
- skt0
set your background as a movieclip in flash. then use stage width and stage height to control the size of it. fairly simple maths should keep it in proportion.
- UndoUndo0
set the size(proportions) with flash and then use the
wmode="transparent"
property when you embedd the flash into yr page. this means you will see any images behind the flash
- blaw0
thanks for the help.
much appreciated.
- UndoUndo0
blaw, check the site on my profile for all of the html parameters when embedding flash. it works like your describing but scales to the max instead of being proporational.