php-doc-en/reference/ming/functions/swfmovie.add.xml
Hartmut Holzgraefe 5b9fc29465 revision tags added
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@78496 c90b9560-bf6c-de11-be94-00142212c4b1
2002-04-17 06:45:35 +00:00

59 lines
1.9 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 -->
<refentry id="function.swfmovie.add">
<refnamediv>
<refname>SWFMovie->add</refname>
<refpurpose>Adds any type of data to a movie.</refpurpose>
</refnamediv>
<refsect1>
<title>Description</title>
<methodsynopsis>
<type>void</type><methodname>swfmovie->add</methodname>
<methodparam><type>ressource</type><parameter>instance</parameter></methodparam>
</methodsynopsis>
&warn.experimental.func;
<para>
<function>swfmovie->add</function> adds <parameter>instance</parameter> to
the current movie. <parameter>instance</parameter> is any type of data :
Shapes, text, fonts, etc. must all be add'ed to the movie to make this work.
</para>
<para>
For displayable types (shape, text, button, sprite), this returns an
<function>SWFDisplayItem</function>, 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.
</para>
<simpara>
See also all other objects (adding this later), and
<function>swfmovie->remove</function>
</simpara>
<simpara>
See examples in :
<function>swfdisplayitem->rotateto</function> and
<function>swfshape->addfill</function>.
</simpara>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->