Ming (flash)
PHP Manual

SWFDisplayItem->setDepth()

(PHP 4 >= 4.0.5)

SWFDisplayItem->setDepth() — Sets z-order

说明

SWFDisplayItem
void setDepth ( float $depth )
Warning

本函数是实验性的。本函数的行为,包括函数名称以及其它任何关于本函数的文档可能会在没有通知的情况下随 PHP 以后的发布而改变。使用本函数风险自担。

swfdisplayitem->setdepth() sets the object's z-order to depth . Depth defaults to the order in which instances are created (by adding a shape/text to a movie)- newer ones are on top of older ones. If two objects are given the same depth, only the later-defined one can be moved.

The object may be a swfshape(), a swfbutton(), a swftext() or a swfsprite() object. It must have been added using the swfmovie->add().

返回值

无返回值。


Ming (flash)
PHP Manual