1 Reply Latest reply on May 7, 2007 3:03 PM by pajaroplus

    Scaling images on load

    wistatboy Level 1
      I'm loading images via XML. My question is if there is a way to scale down the images when they load. The end result I'm trying for here is that when the images are clicked on they will scale up or down. The problem I'm having is that if I use the correct size for my image that I'm looking for, I lose image quality when the images scales up.
        • 1. Re: Scaling images on load
          pajaroplus Level 1
          if you load the image into a movieclip that has best quality when resizing it should apply smoothing.

          also, the only way you ahve to know if th emovieclip loaded is getBytesLoaded or to extend the movieclip class so that you can use custom onload events, though i don't know if they'll get applied when loading images.