©
本文档使用 PHP中文网手册 发布
(PHP 5 <= 5.3.0, PECL ming SVN)
SWFMovie::add — Adds any type of data to a movie
$instance
)此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 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.