dcsimg
A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Auto-Resizing of Swish Web Page?

  1. #1
    Member
    Join Date
    Dec 2002
    Location
    Florida
    Posts
    48

    Auto-Resizing of Swish Web Page?

    What is the best way to create a webpage in Swish that will auto-resize to the percentage of the browser window?
    Thanx

  2. #2
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    i believe you export your movie to "100%"
    panels > export > check 100% > scale=exact fit
    now, there will be some distortion; to minimize it, try to keep the dimensions of your movie in the same ratio of common screen res., e.g. 4:3

    hth

  3. #3
    Senior Member Silent-Leo's Avatar
    Join Date
    May 2002
    Posts
    199
    yes this is the right way..
    but if you want to remove those space on the left, right,
    then in the body of ure HTML code use like this
    leftmargin="0" topmargin="0"

    here is the example

    <html>
    <head>
    <title>Ali Roman Khan</title>
    </head>
    <body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
    <embed src="http://www.RIGHTPATH/ali-roman.swf" width="100%" height="100%" align="top" scale="exactfit"></embed>
    </body>
    </html>

    it will fit to any resolution...

  4. #4
    Member
    Join Date
    Dec 2002
    Location
    Florida
    Posts
    48
    Originally posted by sauvage
    i believe you export your movie to "100%"
    panels > export > check 100% > scale=exact fit
    now, there will be some distortion; to minimize it, try to keep the dimensions of your movie in the same ratio of common screen res., e.g. 4:3

    hth
    Worked very nicely. Thank you, sauvage!

  5. #5
    Ein wilder Mann sauvage's Avatar
    Join Date
    Oct 2002
    Location
    Weißesdorf
    Posts
    855
    you are most welcome
    and Silent-Leo is absolutely right.
    also, so as to trim the "size" of your html pages, always remove unnecessary items such as the double quotation-marks from your measurements.
    so, leftmargin=0 topmargin=0 rightmargin=0 is just fine.

  6. #6
    Member
    Join Date
    Dec 2002
    Location
    Florida
    Posts
    48
    Originally posted by Silent-Leo
    then in the body of ure HTML code use like this leftmargin="0" topmargin="0"
    Silent-Leo, this made a significant difference as well. Thanx!

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