Posted By

daisuke103 on 11/04/08


Tagged

width resize textmate as size listener height as2


Versions (?)

AS2 リサイズ時の処理 フルFLASHでのリサイズ


 / Published in: Other
 

  1. Stage.align = "TL";
  2. Stage.scaleMode="noScale";
  3. Stage.addListener(this);
  4. this.onResize = function() {
  5. /* リサイズ時の処理〜〜*/
  6. head_shadow_mc._width = Stage.width;
  7. underwhiteline_mc._width = Stage.width;
  8. movie_mc._x = Stage.width/2 - movie_mc._width/2;
  9. scroll_mc._x = Stage.width/2 - scroll_mc.mask_mc._width/2;
  10. };
  11. this.onResize();

Report this snippet  

You need to login to post a comment.