Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

make movie 100% width

Status
Not open for further replies.

boyfromoz

Technical User
Joined
Feb 1, 2001
Messages
469
Location
AU
I've made a flash movie, that I want to set to 100% width. Done that, but it still doesn't go right across the screen.

How?
 
Open up your html and make sure the width and height (height if you want!), are set not as pixel values but as 100% in the <object> and <embed> tags, and set the scale parameter to exactfit.

...
<OBJECT classid=&quot;clsid:D27CDB6E-AE6D-11cf-96B8-444553540000&quot;
codebase=
Code:
&quot;[URL unfurl="true"]http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0[/URL]
&quot;
WIDTH=100% HEIGHT=100%>
<PARAM NAME=movie VALUE=&quot;tween.swf&quot;> <PARAM NAME=loop VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=scale VALUE=exactfit> <PARAM NAME=bgcolor VALUE=#999999> <EMBED src=&quot;tween.swf&quot; loop=false quality=high scale=exactfit bgcolor=#999999 WIDTH=100% HEIGHT=100% TYPE=&quot;application/x-shockwave-flash&quot; PLUGINSPAGE=&quot;
Code:
[URL unfurl="true"]http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash[/URL]
&quot;></EMBED>
</OBJECT>

Regards,
mywink.gif
ldnewbie
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top