Flash: dynamic scale image thingy

  • Started
  • Last post
  • 0 Responses
  • mase

    Hola!

    I've got some images and size info loading in via xml.

    I want the user to be able to select a size and for the image to scale to the new size.

    At first i tried xscale, but this just stretched the image - other than that this worked - is there a way or formula to constrain proportions on an img in flash? (i've done this but only with flv's)

    Anyway, I then tried some percentage trickery. Trying to find out the percentage difference between the two and resizing - this has brought me to a world of pain.

    Help?