SWFShape
在线手册:中文 英文
PHP手册

SWFShape::drawCircle

(PHP 4 >= 4.0.5)

SWFShape::drawCircleDraws a circle of radius r centered at the current location, in a counter-clockwise fashion

说明

void SWFShape::drawCircle ( float $r )
Warning

本函数还未编写文档,仅有参数列表。

返回值

没有返回值。


SWFShape
在线手册:中文 英文
PHP手册
PHP手册 - N: Draws a circle of radius r centered at the current location, in a counter-clockwise fashion

用户评论:

PhilipWayne (31-Mar-2009 03:14)

<?php
    ming_UseSwfVersion
(6);
   
   
   
$movie = new SWFMovie();
   
$movie->setRate(20.000000);
   
$movie->setDimension(500, 400);
   
$movie->setBackground(0xcc,0xcc,0xcc);
   
   
$circle = new SWFShape();
   
$circle->setRightFill(00,66,00);
   
$circle->drawCircle(40);
   
$sprite = new SWFSprite;
   
$sprite->add($circle);
   
$sprite->nextFrame();
   
   
$displayitem = $movie->add($sprite);
   
$displayitem->setName("Circle");
   
$displayitem->moveTo(100,100);
   
   
   
$movie->add(new SWFAction("Circle.onPress=function(){ this.startDrag('');};
    Circle.onRelease=Circle.onReleaseOuside=function(){stopDrag();};"
));
   
   
   
header("Content-Type: application/x-shockwave-flash");
   
$movie->output(1);
?>