Html and Flash

Don’t know if this belongs here but…

ANYWAY, I have been pondering over this for about an hour now, its probably really simple. You know how every flash movie has the size that it was published at? Well I want to embed a flash movie into a html page, and in the code for the html page (the part about the flash object) I want to put something like:

width=100*%*
height=100*%*

with a percent symbol instead of an actual size. Help?

edit: checked it out, it does work:)sorry.
why didn’t you test it out in the hour that you pondered it/:huh:

Rofl. Why ponder over it for hours?? FYI, it does work. Well, the 100% width attribute - getting 100% hieght is a problem with most browsers.

Excactly, Got to the publish setting from your flash movie. then choose “percent” in stead of “pixels”

which should give you something like this:

<object classid=“clsid:d27cdb6e-ae6d-11cf-96b8-444553540000” codebase=“http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0width=“100%” height=“100%” id=“myMovie” align=“middle”>
<param name=“allowScriptAccess” value=“sameDomain” />
<param name=“movie” value=“myMovie.swf” /><param name=“menu” value=“false” /><param name=“quality” value=“high” /><param name=“scale” value=“noscale” /><param name=“bgcolor” value=“#ffffff” /><embed src=“myMovie.swf” menu=“false” quality=“high” scale=“noscale” bgcolor=“#ffffffwidth=“100%” height=“100%” name=“myMovie” align=“middle” allowScriptAccess=“sameDomain” type=“application/x-shockwave-flash” pluginspage=“http://www.macromedia.com/go/getflashplayer” />

i have a question in line with the 100% thing… will it make my flash object be maximized on the entire web page? if not, how do i make my flash object be maximized on the entire page? pls help me… :sigh:

thanks! :smiley:

If there both 100% it will cover the whole browser screen :D, Try it.