class SimpleUniverse extends Object { function SimpleUniverse() { $this->Object(); $this->addAction($this->SimpleAction(),"act"); $this->compire(); } function SimpleAction() { $act = new SWFAction (" // this.onEnterFrame = function(){ // lineStyle(0,150,100); // moveTo(100,100); // lineTo(500,500); // }; this.draw = function(polygon){ lineStyle(0,150,100); moveTo( _root.Matrix.getElement(polygon[0],0,0)*50/_root.Matrix.getElement(polygon[0],0,2) , _root.Matrix.getElement(polygon[0],0,1)*50/_root.Matrix.getElement(polygon[0],0,2)); for (i = 1; i < polygon.length ;i++){ lineTo( _root.Matrix.getElement(polygon[i],0,0)*50/_root.Matrix.getElement(polygon[i],0,2), _root.Matrix.getElement(polygon[i],0,1)*50/_root.Matrix.getElement(polygon[i],0,2)); } }; "); return $act; } }
PC用眼鏡【管理人も使ってますがマジで疲れません】 解約手数料0円【あしたでんき】 Yahoo 楽天 NTT-X Store