SWFMovie::add

(PHP 5 < 5.3.0, PECL ming SVN)

SWFMovie::addAdds any type of data to a movie

说明

SWFMovie::add ( object $instance ) : mixed
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.

参见

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top