I am working on a website where there will be a Flash navigation menu on the left side. However, the first page will not have that menu; instead, it will have another .swf file. Same width, different height. My question is this: is there any way to have the HTML automatically adjust the height of the Flash file to whatever the height actually is? This would save me some headache because (1) I could use the same code on all of the pages, and (2) if we ever updated the height of the navigation .swf file I wouldn't have to re-code 50+ pages by hand. Here's a code sample:
<object classid="clsid
27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="width="130" height="450">
<param name="movie" value="shared/nav.swf" />
<param name="quality" value="high" />
<embed src="shared/nav.swf" quality="high"
pluginspage=" type="application/x-shockwave-flash"
width="130" height="450">
</embed>
</object>
This is going within a table cell, by the way. So, the .swf on the first page may be width="130" and height="200", which is different only in height from the navigational .swf file. We may add more links on the side in the future, too, and I don't want to have to go in and manually change all of those height="450" to height="500". However, Macromedia says that the height is a required attribute here:
I tried out it just for kicks and it shrinks the .swf file. Bummer. Are there any workarounds for this?
<object classid="clsid
codebase="width="130" height="450">
<param name="movie" value="shared/nav.swf" />
<param name="quality" value="high" />
<embed src="shared/nav.swf" quality="high"
pluginspage=" type="application/x-shockwave-flash"
width="130" height="450">
</embed>
</object>
This is going within a table cell, by the way. So, the .swf on the first page may be width="130" and height="200", which is different only in height from the navigational .swf file. We may add more links on the side in the future, too, and I don't want to have to go in and manually change all of those height="450" to height="500". However, Macromedia says that the height is a required attribute here:
I tried out it just for kicks and it shrinks the .swf file. Bummer. Are there any workarounds for this?