
近日有專案,因為是flash網站,需要將google map在flash中呈現,花了一些時間才解決,因為我的專業並不是flash as,以下的心得分享,如有錯誤還請見諒!
網頁設計遇到的問題都會在這邊作個紀錄
//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