Ming GradCircle Codes
Enter your parameters and then select and copy codes.
Size of circle will be twice the input size.
Red:
Green:
Blue:
Size:
Pixel x:
Pixel y:
then copy
$myMovie = new SWFMovie(); $myMovie->setBackground(0x00, 0x00, 0x00); $myMovie->setDimension(450, 450); $GRAD=new SWFGradient(); $GRAD->addEntry(0.0,0,0,0); $GRAD->addEntry(1.0,0,0,0); $GRADcircle=new SWFShape(); $GRADcircle->setLine(1,0,0,0,0); $GRADfill=$GRADcircle->addFill($GRAD, SWFFILL_RADIAL_GRADIENT); $GRADfill->scaleTo(0.15); $GRADfill->moveTo(0,0); $GRADcircle->setLeftFill($GRADfill); $GRADcircle->drawCircle(0); $GRADball=$myMovie->add($GRADcircle); $GRADball->moveTo(0,0); header('Content-type: application/x-shockwave-flash'); $myMovie->output(); ?>
Back to Functions