12 Replies Latest reply on Feb 13, 2014 12:08 AM by zeRafio

    [AS/CC]Resizing a box and its contained image

    zeRafio Level 1

      Is there a method ro resize by percentage a box and the image inside?

       

      My code for this is the following:

      (first line for the box, second for the image)

       

        resize selection in inner coordinates from top left anchor by multiplying current dimensions by values {0.75, 0.75} with resize individually and considering ruler units
        resize image 1 of selection in parent coordinates from top left anchor by multiplying current dimensions by values {0.75, 0.75} with resize individually and considering ruler units
      

       

      But unfortunately, if the image is skewed, the result is not what we can expect: the image is resized, but misplaced.

       

      Any suggestion?