require"Object.php"; require"TestPrint.php"; require"Matrix.php"; require"Polygon.php"; require"Simple_Universe.php"; ming_useSWFVersion(6); $m = new SWFMovie(); $A = new Matrix(); $P = new TestPrint(); $Po = new Polygon(); $Uni = new SimpleUniverse(); $m->setDimension(800, 600); $N = $m->add($P->Layer()); $N->setName("Print"); $N = $m->add($A->Layer()); $N->setName("Matrix"); $N = $m->add($Po->Layer()); $N->setName("Polygon"); $N = $m->add($Uni->Layer()); $N->setName("Uni"); $N->moveTo(200,200); $m->nextFrame(); $m->add( new SWFAction (" var init = 1; A = _root.Matrix.newMatrix(); B = _root.Matrix.newMatrix(); T = _root.Matrix.newMatrix(); P = _root.Polygon.newPolygon_square(); this.onEnterFrame = function(){ PT = _root.Polygon.rotate_x(P,init++); PT = _root.Polygon.move(PT,0,0,200); _root.Uni.draw(PT); /* PT = _root.Polygon.move(P,0,0,-30); PT = _root.Polygon.rotate_x(PT,init++); _root.Uni.draw(PT); ///// PT = _root.Polygon.move(P,300,300,0); _root.Uni.draw(PT); PT = _root.Polygon.move(P,-300,300,0); _root.Uni.draw(PT); PT = _root.Polygon.move(P,300,-300,0); _root.Uni.draw(PT); PT = _root.Polygon.move(P,-300,-300,0); _root.Uni.draw(PT); */ }; ") ); $m->save("matrix.swf");
PC用眼鏡【管理人も使ってますがマジで疲れません】 解約手数料0円【あしたでんき】 Yahoo 楽天 NTT-X Store