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); } |
Word教程网 | Excel教程网 | Dreamweaver教程网 | Fireworks教程网 | PPT教程网 | FLASH教程网 | PS教程网 |
HTML教程网 | DIV CSS教程网 | FLASH AS教程网 | ACCESS教程网 | SQL SERVER教程网 | C语言教程网 | JAVASCRIPT教程网 |
ASP教程网 | ASP.NET教程网 | CorelDraw教程网 |