resizing dynamic imgs

  • Started
  • Last post
  • 1 Response
  • kinetic

    is it possible to resize jpegs brought into flash dynamically?

    i know i could use php and some sort of lib but id like to be able to do it in flash

    also, i need to be able to maintain aspect ratio

    i tried to resize the clip that the movie gets loaded into but it wouldn't work

    any help is much appreciated here

    thanks!!

  • Mick0

    You should be able to resize or change any attribute of the JPGs, as long as you load them into a movieclip and change the properties of that MC.

    As for the aspect ratio, you'll have to do some mat stuff to find out the ratio of each image (if they're all different dimensions). Divide width/height, set one of them and multiply the other by the ratio.