Posted By

enabled88 on 08/12/10


Tagged

resize auto align on


Versions (?)

Auto Align on Resize


 / Published in: ActionScript
 

URL: www.blabla.com

Coments, Coments, And More Coments,

  1. #include "as/mc_tween2.as"
  2. // the tween module you wish to use.
  3.  
  4. Stage.scaleMode = "NoScale";
  5. Stage.align = "TL";
  6.  
  7. var resizeHandler:Object = new Object();
  8. resizeHandler.onResize = scaleMc;
  9. function scaleMc():Void {
  10.  
  11.  
  12. }
  13.  
  14. Stage.addListener(listener);
  15.  
  16. scaleMc();
  17. Stage.addListener(resizeHandler);

Report this snippet  

You need to login to post a comment.