1#!/usr/bin/php -c. 2<?php 3 4$m = new SWFMovie(8); 5 6$shape1 = new SWFShape(); 7$shape1->setLine2(1, SWF_LINESTYLE_FLAG_HINTING, 0, 25, 0, 0, 128); 8$shape1->movePenTo(5, 5); 9$shape1->drawLineTo(50, 30); 10 11$shape2 = new SWFShape(); 12$shape2->setLine2(1, SWF_LINESTYLE_FLAG_HINTING, 0, 25, 100, 100, 255); 13$shape2->movePenTo(5, 5); 14$shape2->drawLineTo(50, 130); 15 16$item = $m->add($shape1); 17$m->nextFrame(); 18$m->replace($item, $shape2); 19$m->nextFrame(); 20 21$m->save("test01.swf"); 22 23?> 24