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){ this.clear(); 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; } }
無料ホームページ 楽天モバイル[UNLIMITが今なら1円] 海外格安航空券 海外旅行保険が無料!