A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [RESOLVED] Strange sizing issues

  1. #1
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929

    resolved [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!!
    Last edited by flashpipe1; 04-30-2009 at 10:42 AM.
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

  2. #2
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,929
    WOOHOO!!!

    Got it...all in the HTML Publish settings

    http://www.adobe.com/devnet/flash/ar...id_gui_02.html

    THANKS!!!!
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center