A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Resizing browser

  1. #1
    Senior Member
    Join Date
    May 2002
    Posts
    140
    How can you make the swf on a webpage resize itself so you can always see all of it?So when i resize the browser the swf resizes too.Is this possible with swish?

    Thanks in advance
    Esherbet

  2. #2
    Senior Member
    Join Date
    Jul 2002
    Location
    USA, NY
    Posts
    686

    resize

    You can do it, but you do it with the html code... not within Swish itself. However, you may want to consider that when a user resizes their browser, it will skew the proportions of your movie.

    <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    WIDTH=100% HEIGHT=100%>
    <PARAM NAME=movie VALUE="yourmovie.swf">
    <PARAM NAME=scale VALUE=exactfit>
    <PARAM NAME=loop VALUE=false>
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE=#ffffff>
    <EMBED src="yourmovie.swf" loop=false quality=high scale=exactfit bgcolor=#ffffff
    WIDTH=100% HEIGHT=100% TYPE="application/x-shockwave-flash"
    PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    </OBJECT>

    That would run your movie at 100% of the browser size, even if you only changed one side (height or width)...that side would change.

    Just my $ .02

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