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$item = $m->add($shape1); 12$m->nextFrame(); 13$m->replace($item, $shape1); 14$m->nextFrame(); 15 16$m->save("test02.swf"); 17 18?> 19