require "Object.php"; class TestObject extends Object { function TestObject() { $this->Object(); $this->addObject($this->_object(),"test"); $this->Compire(); } function _object() { $rect = new SWFShape(); $rect->setRightFill(200,10,10); $rect->movePen(0,0); $rect->drawLine(10,0); $rect->drawLine(0,10); $rect->drawLine(-10,0); $rect->drawLine(0,-10); return $rect; } } $m = new SWFMovie(); $m->setDimension(800, 600); $object = new TestObject(); $m->add($object->Layer()); $m->nextFrame(); $m->save("TestObject.swf");
無料ホームページ 楽天モバイル[UNLIMITが今なら1円] 海外格安航空券 海外旅行保険が無料!