Functions Php

    $mov = new SWFMovie( );
    $mov->setDimension(200,20);
    $shape = new SWFShape( );
    $shape->setLeftFill($shape->addFill(0xff, 0, 0));
    $shape->movePenTo(0,0);
    $shape->drawLineTo(199,0);
    $shape->drawLineTo(0,0);
    $mov->add($shape);
    header('Content-type: application/x-shockwave-flash');
    $mov->output( );
?>