

| for(i=1;i<13;i++){ duplicateMovieClip("v0","v"+i,i); _root["v"+i].factor=-360/12*i; _root["v"+i].gotoAndStop(i+1); } |
| onClipEvent (load) { _root.earth.swapDepths(100); speed = 3; radius = 180; } onClipEvent (enterFrame) { _y = _root.earth._y; z = _root.earth._x-_root._xmouse; speed = z/40; factor += speed; xtransform = Math.sin(Math.PI/180*factor); ytransform = Math.sin(Math.PI/180*factor); ytransformp = Math.sin(Math.PI/180*(factor+90)); this._xscale = ytransformp*120+1; this._x = _root.earth._x+xtransform*radius; this._alpha = 10+(ytransformp+1)*50; this._yscale = 120+(ytransformp-1)*2; stack = Math.round((ytransform+1)*100); this.swapDepths(stack); } |
图片环绕旋转效果.rar
admin#flashas.net (#为@) 联系QQ:
:40777822
浙ICP备06033001号