티스토리 툴바

블로그 이미지
"변화의 시기에는 배우려고 하는 이들이 세상을 차지합니다"

카테고리

분류 전체보기 (386)
매쉬업 (23)
Flash Platform (131)
AJIT (8)
Mobile (5)
JAVASCRIPT (33)
OpenAPI (5)
RIA (10)
Front-End (2)
Back-End (16)
SQL (2)
낙서장 (137)
TOOLs (4)
Total226,655
Today54
Yesterday86
Statistics Graph
2.0에서 사용은 많이 했는데..3.0에서는 어떻게 써야 할까???

private function setSize(w:int,h:int):void{
  var tween:Tween = new Tween(win, [win.width, win.height], [w, h], 2000, 40);
     tween.easingFunction = Elastic.easeOut;
        tween.setTweenHandlers(winSizeEffector, endTween);
 }
 
 private function winSizeEffector(v:Array):void{
  win.width = v[0];
  win.height = v[1];
 }

시작값을 배열로 던질수 있고..배열로 받을수 있다^^;
Posted by lovedev

Trackback | http://lovedev.tistory.com/trackback/22 관련글 쓰기

댓글을 달아 주세요

최근에 달린 댓글

최근에 받은 트랙백

달력

« » 2012.05
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    

글 보관함