SWFMovie
PHP 手册

SWFMovie::add

(PHP 4 >= 4.3.3)

SWFMovie::addAdds any type of data to a movie

说明

mixed SWFMovie::add ( object $instance )
Warning

此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。

Adds an SWF object instance to the current movie.

参数

instance

Any type of object instance, like SWFShape, SWFText, SWFFont.

返回值

For displayable types (shape, text, button, sprite), this returns an SWFDisplayItem, a handle to the object in a display list. Thus, you can add the same shape to a movie multiple times and get separate handles back for each separate instance.

参见


SWFMovie
PHP 手册