4 Replies Latest reply on Mar 3, 2011 3:27 AM by d56_jones

    How to keep scale for height when resizing width?


      Hi i have a serious of images different sizes/ ratios, which need to display at a fixed width of 50. Great works... but how do I resize the height to keep it at its original ratio?


      this.attachMovie(small_image, "number1_mcs" + loop , this.getNextHighestDepth(), {_x:50 + (loop*50),_y:300,_width:50,_yscale:?????????????});}


      many thanks in advance