Ming Circle Codes
Enter your parameters and then select and copy codes.
Line Size:
Red:
Green:
Blue:
Alpha:
Circle
Color:
Red:
Green:
Blue:
Alpha:
Width:
Pixel x:
Pixel y:
then copy
$myMovie = new SWFMovie(); $myMovie->setBackground(0x00, 0x00, 0x00); $myMovie->setDimension(450, 450); $circleshape = new SWFShape(); $circleshape->setRIGHTFill($circleshape->addFill(0,0,0,0)); $circleshape->setLine(0,0,0,0,0); $circleshape->drawCircle(0); $firstcirc=$myMovie->add($circleshape); $firstcirc->moveTo(0,0); /* BLANK CIRCLE Remove this line: $circleshape->setRIGHTFill($circleshape->addFill(0,0,0,0)); */ /* IMAGE TILED CIRCLE Replace this line: $circleshape->setRIGHTFill($circleshape->addFill(0,0,0,0)); WITH these lines: $bitmapfilename = 'roof.gif'; $fob = fopen($bitmapfilename,'rb'); $img = new SWFBitmap($fob); $circleshape->setRIGHTFill($circleshape->addFill($img, SWFFILL_TILED_BITMAP)); CHANGE ALPHA VALUE OF OUTLINE TO ZERO FOR NO OUTLINE $circleshape->setLine(0,0,0,0,0); */ /* Transload image: http://www.lingolinda.com/ming/functions/roof.gif or replace it with your own */ header('Content-type: application/x-shockwave-flash'); $myMovie->output(); ?>
Back to Functions