image optimization for fullscreen flash

  • Started
  • Last post
  • 3 Responses
  • Aa77

    I am doing a fullscreen flash page that will have an image as the background stretched to fit the frame.

    I already know how to have the image scale to the size of the window while maintaining the proper proportions, but I am wondering what should be the optimal size of the image should be?

    I want the image to look just as crisp when the browser windows come up on large monitors, as well as on smaller screens like 13" macbooks.

    Is there a specific size I should set the images at?
    Should I save the image with any particular extra settings ?
    s there some sort of plugin or code to add to my Actionscript that will help the image look crisp even if its been scaled?

    Thanks for the help in advance and hopefully there won't be too much flash hate in this post.

    cheers

  • FixMiller0

    just have the smoothing property set to true on the bitmap.
    That would smooth the image even if it's stretched to sizes bigger than original.
    You can do that in Library > Properties (on the imported bitmap) if you are using Flash IDE & have the image imported,
    or
    yourBitmap.smoothing = true; in AS (AS3).

    Hope this helps.

    • thanks so much..exactly what I needed. would that be the same in AS 2?Aa77
    • AS2 the code would be allowSmoothing = true. Same checkbox if you're using the IDE.fyoucher1
  • acescence0

    detect screen res when the site loads and use larger images for larger res

    • that makes sense. but what if the user starts with a large window and then scales it down?Aa77
    • you could check before each image loadacescence
  • fyoucher10

    What FixMiller says but also try to scale down instead of up. Scaling up makes the image blurry. So, figure out what your maximum desired browser resolution would be, and then make your image that size (in proportion of course).

    Or if you're more ambitious, do what acescence says.