摘要:
importflash.display.MovieClip;importflash.geom.Matrix;importflash.events.MouseEvent;varsp:MovieClip=newContainer();varcontainClone:MovieClip=newContainer();varrect:MovieClip=newRect();this.addChild(sp);sp.x=sp.y=200;sp.addChild(rect);rect.x=100;rect.y=50;varm0:Matrix=rect.transform.matrix;varm1:Matr 阅读全文
摘要:
importflash.events.Event;importflash.geom.Matrix;varangle:Number=0;varcameraM:Matrix=newMatrix();varmcM:Matrix=mc.transform.matrix;this.addEventListener(Event.ENTER_FRAME,loop);functionloop(e:Event):void{angle++;vartempM:Matrix=mcM.clone();cameraM.identity();cameraM.createBox(1,1,angle*Math.PI/180,1 阅读全文
摘要:
阅读全文