Posted By

koriner on 01/28/11


Tagged

resize image


Versions (?)

Last Edited at 01/28/11 12:37pm

Viewed 28 times

Full screen image resize (proportionate)


/ Published in: ActionScript 3


  1. image.height = stage.stageHeight;
  2. image.width = stage.stageWidth;
  3. image.scaleX = image.scaleY = Math.max( image.scaleX, image.scaleY );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.