[RESOLVED] Strange sizing issues
I'm having some inconsistencies with the resizing of my swf inside the browser and could use some direction...
I've got an image gallery where images randomly appearing on the stage based on the size of the movie in the browser...and it seems to work, mostly.
It works fine when I run the swf locally...works perfect...just the way I want.
When I run the html, I can't get the height of the div to scale even though I have height set to 100% (also tried it with a table)...any ideas? Seems to be stuck at around 200 pixels high. Attached zip with images, swf, html and xml. It works if I set it to fixed width and height, 550x600, but I want it to be able to scale inside the table/div.
You can see it at:
http://www.brianwpiper.com/random/resize.html
Here's the html:
Code:
<script type="text/javascript" src="flashobject.js"></script>
<div align="center" id="flashcontent" style="width: 100%; height: 100%">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" height="100%" width="100%" name="if-header">
<param name="movie" value="scaleStage.swf">
<param name="quality" value="best">
<param name="play" value="true">
<embed height="100%" name="if-header" pluginspage="http://www.macromedia.com/go/getflashplayer" src="scaleStage.swf" width="100%" quality="best" play="true">
</object>
</div>
Thanks!!