Welcome to WebDesignForums.net!
You're currently viewing WDF as a guest. By registering for a free account, you'll be able to participate with other members in our friendly community. Being a member allows you to ask questions and get answers for those troublesome web development tasks!

In addition, as a member you'll be able to post your websites up for review. Using our unique website review system you can gain some amazing feedback from some of the best web developers around. This is a completely free service to all registered members.

Ready to register yet? Registration is 100% free. Click Here To Join Now!

resize flash object

Discussion in 'Adobe Flash Help' started by Abstract, Aug 18, 2008.

  1. Offline

    Abstract Member

    Message Count:
    194
    Likes Received:
    0
    Trophy Points:
    16
    Is there anyway to resize a flash file without the images appearing distorted?

    I need to scale a .swf file that is 800 x 475 down to 640 x 480. I don't want to redo the file in Flash 8. If I change the object's size in Dreamweaver, then the images look bitmappy.

    Thanks.


  2. Offline

    smoseley Administrator

    Message Count:
    9,728
    Likes Received:
    192
    Trophy Points:
    63
    Location:
    Boston, MA
    You can set the scalemode attribute on your HTML object:

    Code:
    scalemode="noscale"
    But that will crop everything. You're better off redoing the flash.


  3. Offline

    Abstract Member

    Message Count:
    194
    Likes Received:
    0
    Trophy Points:
    16
    Bummer.

    So how do people who design flash sites scaled at 100% the browser size maintain the site's look so that it doesn't get distorted?


  4. Offline

    drewbeta Member

    Message Count:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Chicago IL, USA
    they use vector images.


  5. Offline

    Abstract Member

    Message Count:
    194
    Likes Received:
    0
    Trophy Points:
    16
    Yeah, but shouldn't you be able to downsize the dimensions at the same ratio and it not be distorted? I can understand why it would distort if you are attempting to make the dimensions larger - but not for making them smaller...


  6. Offline

    drewbeta Member

    Message Count:
    83
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Chicago IL, USA
    because flash is not good at interpreting bitmap pixels in relative positions. have you every brought an image into Flash and scaled it down on the stage? it doesn't look so hot because Flash does not re-map pixels, it just squishes them.


  7. Offline

    smoseley Administrator

    Message Count:
    9,728
    Likes Received:
    192
    Trophy Points:
    63
    Location:
    Boston, MA
    If you use noscale mode (specified in AS in the flash file itself), you can programmatically control how everything gets laid out when the stage is resized. It's actually really powerful. Then, in HTML, you size the swf to 100% width and height, and let it essentially take over the whole browser.

    If you're using Flash 9 / AS3, you should research the native Stage object.


Share This Page