Please wait while we load your page...


PHP Manual :: SWFMovie::add

SWFMovie || SWFMovie::addExport || PHP Manual

(PHP 5 <= 5.3.0, PECL ming SVN)

SWFMovie::addAdds any type of data to a movie


mixed SWFMovie::add ( object $instance )

This function is EXPERIMENTAL. The behaviour of this function, its name, and surrounding documentation may change without notice in a future release of PHP. This function should be used at your own risk.

Adds an SWF object instance to the current movie.



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

Return Values

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.

See Also

SWFMovie || SWFMovie::addExport || PHP Manual
Live Chat Not Available