©
本文檔使用 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.