
mask語法在as3有改變了唷!
網頁設計遇到的問題都會在這邊作個紀錄
//import TweenMax import com.greensock.*; import com.greensock.easing.*; //元件dog初始值設定透明度為0 dog.alpha = 0; //元件dog淡入 TweenMax.to(dog, 1 ,{alpha:1}); stage.addEventListener(MouseEvent.MOUSE_MOVE, mouseMoves); function mouseMoves(e:Event):void { TweenMax.to(dog, 1 ,{x :mouseX, y: mouseY, ease:Back.easeOut}); }
One Design Copyright © 2009 BeMagazine Blogger Template is Designed by Blogger Template
In Collaboration with fifa