|
PHP5中文手册
SWFDisplayItem->setRatio()(PHP 4 >= 4.0.5) SWFDisplayItem->setRatio() — Sets the object's ratio 说明SWFDisplayItem
void setRatio
( float $ratio
)
Warning
本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。 swfdisplayitem->setratio() sets the object's ratio to ratio . Obviously only useful for morphs. The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie->add(). 返回值无返回值。 范例This simple example will morph nicely three concentric circles. Example#1 swfdisplayitem->setname() example
<?php |