cvs: phpdoc-fr /reference/ming/swfaction construct.xml /reference/ming/swfbutton addaction.xml addasound.xml addshape.xml construct.xml setaction.xml
setdown.xml sethit.xml setmenu.xml setover.xml setup.xml
| From: | Yannick Torres | Date: | Sat, 26 May 2007 13:46:18 +0000 |
| Subject: | cvs: phpdoc-fr /reference/ming/swfaction construct.xml /reference/ming/swfbutton addaction.xml addasound.xml addshape.xml construct.xml setaction.xml setdown.xml sethit.xml setmenu.xml setover.xml setup.xml |
||
| Groups: | php.doc.fr | ||
| Request: | Send a blank email to doc-fr+get-5359@lists.php.net to get a copy of this message | ||
yannick Sat May 26 13:46:18 2007 UTC
Added files:
/phpdoc-fr/reference/ming/swfaction construct.xml
/phpdoc-fr/reference/ming/swfbutton addaction.xml addasound.xml
addshape.xml construct.xml
setaction.xml setdown.xml
sethit.xml setmenu.xml
setover.xml setup.xml
Log:
initiale translation
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfaction/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfaction/construct.xml +++ phpdoc-fr/reference/ming/swfaction/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfaction.construct"> <refnamediv> <refname>SWFAction->__construct()</refname> <refpurpose>Crée un nouvel objet SWFAction</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFAction</classname></ooclass> <methodsynopsis> <type>SWFAction</type><methodname>__construct</methodname> <methodparam><type>string</type><parameter>script</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Crée un nouvel objet SWFAction et y compile le script fourni. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>script</parameter></term> <listitem> <para> Un ActionScript à associer avec l'objet SWFAction. Voir <xref linkend="ming.swfaction" /> pour plus de détails. </para> </listitem> </varlistentry> </variablelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/addaction.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/addaction.xml +++ phpdoc-fr/reference/ming/swfbutton/addaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.addaction"> <refnamediv> <refname>SWFButton->addAction()</refname> <refpurpose>Ajoute une action</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addAction</methodname> <methodparam><type>SWFAction</type><parameter>action</parameter></methodparam> <methodparam><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Ajout l'action fournie au bouton dans les conditions données. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> Un objet <classname>SWFAction</classname>, retourné par <xref linkend="function.swfaction.construct" />. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> Les drapeaux <parameter>flags</parameter> suivants sont valides : <constant>SWFBUTTON_MOUSEOVER</constant>, <constant>SWFBUTTON_MOUSEOUT</constant>, <constant>SWFBUTTON_MOUSEUP</constant>, <constant>SWFBUTTON_MOUSEUPOUTSIDE</constant>, <constant>SWFBUTTON_MOUSEDOWN</constant>, <constant>SWFBUTTON_DRAGOUT</constant> et <constant>SWFBUTTON_DRAGOVER</constant>. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/addasound.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/addasound.xml +++ phpdoc-fr/reference/ming/swfbutton/addasound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.addasound"> <refnamediv> <refname>SWFButton->addASound()</refname> <refpurpose>Associe un son à un bouton</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>SWFSoundInstance</type><methodname>addASound</methodname> <methodparam><type>SWFSound</type><parameter>sound</parameter></methodparam> <methodparam><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/addshape.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/addshape.xml +++ phpdoc-fr/reference/ming/swfbutton/addshape.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.addshape"> <refnamediv> <refname>SWFButton->addShape()</refname> <refpurpose>Ajoute une forme à un bouton</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addShape</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> <methodparam><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Ajoute la forme <parameter>shape</parameter> fournie au bouton. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>shape</parameter></term> <listitem> <para> Une instance de l'objet <classname>SWFShape</classname> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> Les drapeaux <parameter>flags</parameter> suivants sont valides : <constant>SWFBUTTON_UP</constant>, <constant>SWFBUTTON_OVER</constant>, <constant>SWFBUTTON_DOWN</constant> et <constant>SWFBUTTON_HIT</constant>. </para> <para> <constant>SWFBUTTON_HIT</constant> n'est pas toujours affiché, il définit la région du bouton. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/construct.xml +++ phpdoc-fr/reference/ming/swfbutton/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.construct"> <refnamediv> <refname>SWFButton->__construct()</refname> <refpurpose>Crée un nouveau bouton</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>SWFButton</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Crée un nouveau bouton. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> Cet exemple simple montre une intéraction habituelle avec des boutons : rollover, rollon, mouseup, mousedown, noaction. <example> <title>Intéractions habituelles avec les boutons</title> <programlisting role="php"> <![CDATA[ <?php $f = new SWFFont("_serif"); $p = new SWFSprite(); function label($string) { global $f; $t = new SWFTextField(); $t->setFont($f); $t->addString($string); $t->setHeight(200); $t->setBounds(3200, 200); return $t; } function addLabel($string) { global $p; $i = $p->add(label($string)); $p->nextFrame(); $p->remove($i); } $p->add(new SWFAction("stop();")); addLabel("NO ACTION"); addLabel("SWFBUTTON_MOUSEUP"); addLabel("SWFBUTTON_MOUSEDOWN"); addLabel("SWFBUTTON_MOUSEOVER"); addLabel("SWFBUTTON_MOUSEOUT"); addLabel("SWFBUTTON_MOUSEUPOUTSIDE"); addLabel("SWFBUTTON_DRAGOVER"); addLabel("SWFBUTTON_DRAGOUT"); function rect($r, $g, $b) { $s = new SWFShape(); $s->setRightFill($s->addFill($r, $g, $b)); $s->drawLine(600, 0); $s->drawLine(0, 600); $s->drawLine(-600, 0); $s->drawLine(0, -600); return $s; } $b = new SWFButton(); $b->addShape(rect(0xff, 0, 0), SWFBUTTON_UP | SWFBUTTON_HIT); $b->addShape(rect(0, 0xff, 0), SWFBUTTON_OVER); $b->addShape(rect(0, 0, 0xff), SWFBUTTON_DOWN); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(1);"), SWFBUTTON_MOUSEUP); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(2);"), SWFBUTTON_MOUSEDOWN); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(3);"), SWFBUTTON_MOUSEOVER); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(4);"), SWFBUTTON_MOUSEOUT); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(5);"), SWFBUTTON_MOUSEUPOUTSIDE); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(6);"), SWFBUTTON_DRAGOVER); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(7);"), SWFBUTTON_DRAGOUT); $m = new SWFMovie(); $m->setDimension(4000, 3000); $i = $m->add($p); $i->setName("label"); $i->moveTo(400, 1900); $i = $m->add($b); $i->moveTo(400, 900); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <para> Cet exemple simple vous permet d'afficher un gros bouton rouge dans la fenêtre. Pas de glisser / déposer, il bouge uniquement. <example> <title>Exemple de glisser</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $s->setRightFill($s->addFill(0xff, 0, 0)); $s->drawLine(1000,0); $s->drawLine(0,1000); $s->drawLine(-1000,0); $s->drawLine(0,-1000); $b = new SWFButton(); $b->addShape($s, SWFBUTTON_HIT | SWFBUTTON_UP | SWFBUTTON_DOWN | SWFBUTTON_OVER); $b->addAction(new SWFAction("startDrag('/test', 0);"), // '0' signifie qu'il n'est pas verrouillé sur la souris SWFBUTTON_MOUSEDOWN); $b->addAction(new SWFAction("stopDrag();"), SWFBUTTON_MOUSEUP | SWFBUTTON_MOUSEUPOUTSIDE); $p = new SWFSprite(); $p->add($b); $p->nextFrame(); $m = new SWFMovie(); $i = $m->add($p); $i->setName('test'); $i->moveTo(1000,1000); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setaction.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setaction.xml +++ phpdoc-fr/reference/ming/swfbutton/setaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setaction"> <refnamediv> <refname>SWFButton->setAction()</refname> <refpurpose>Définit l'action</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setAction</methodname> <methodparam><type>SWFAction</type><parameter>action</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit l'action à exécuter lorsque le bouton est clické. </para> <para> C'est un raccourci pour <xref linkend="function.swfbutton.addaction" /> appelé avec le drapeau <constant>SWFBUTTON_MOUSEUP</constant>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> Un objet <classname>SWFAction</classname>, retourné par <xref linkend="function.swfaction.construct" />. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addaction" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setdown.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setdown.xml +++ phpdoc-fr/reference/ming/swfbutton/setdown.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setdown"> <refnamediv> <refname>SWFButton->setDown()</refname> <refpurpose>Alias pour addShape(shape, SWFBUTTON_DOWN)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setDown</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfbutton->setdown</function> est un alias pour addShape(shape, SWFBUTTON_DOWN). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/sethit.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/sethit.xml +++ phpdoc-fr/reference/ming/swfbutton/sethit.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.sethit"> <refnamediv> <refname>SWFButton->setHit()</refname> <refpurpose>Alias pour addShape(shape, SWFBUTTON_HIT)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setHit</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfbutton->sethit</function> est un alias pour addShape(shape, SWFBUTTON_HIT). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setmenu.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setmenu.xml +++ phpdoc-fr/reference/ming/swfbutton/setmenu.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setmenu"> <refnamediv> <refname>SWFButton->setMenu()</refname> <refpurpose>Active un menu sur un bouton</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setMenu</methodname> <methodparam><type>int</type><parameter>flag</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>flag</parameter></term> <listitem> <para> Ce paramètre peut être utilisé pour un comportement différent des boutons. Vous pouvez le définir à 0 (off) ou 1 (on). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setover.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setover.xml +++ phpdoc-fr/reference/ming/swfbutton/setover.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setover"> <refnamediv> <refname>SWFButton->setOver()</refname> <refpurpose>Alias pour addShape(shape, SWFBUTTON_OVER)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setOver</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfbutton->setover</function> est un alias pour addShape(shape, SWFBUTTON_OVER). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setup.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setup.xml +++ phpdoc-fr/reference/ming/swfbutton/setup.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setup"> <refnamediv> <refname>SWFButton->setUp()</refname> <refpurpose>Alias pour addShape(shape, SWFBUTTON_UP)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setUp</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfbutton->setup</function> est un alias pour addShape(shape, SWFBUTTON_UP). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 -->
http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfaction/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfaction/construct.xml +++ phpdoc-fr/reference/ming/swfaction/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfaction.construct"> <refnamediv> <refname>SWFAction->__construct()</refname> <refpurpose>Crée un nouvel objet SWFAction</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFAction</classname></ooclass> <methodsynopsis> <type>SWFAction</type><methodname>__construct</methodname> <methodparam><type>string</type><parameter>script</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Crée un nouvel objet SWFAction et y compile le script fourni. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>script</parameter></term> <listitem> <para> Un ActionScript à associer avec l'objet SWFAction. Voir <xref linkend="ming.swfaction" /> pour plus de détails. </para> </listitem> </varlistentry> </variablelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/addaction.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/addaction.xml +++ phpdoc-fr/reference/ming/swfbutton/addaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.addaction"> <refnamediv> <refname>SWFButton->addAction()</refname> <refpurpose>Ajoute une action</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addAction</methodname> <methodparam><type>SWFAction</type><parameter>action</parameter></methodparam> <methodparam><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Ajout l'action fournie au bouton dans les conditions données. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> Un objet <classname>SWFAction</classname>, retourné par <xref linkend="function.swfaction.construct" />. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> Les drapeaux <parameter>flags</parameter> suivants sont valides : <constant>SWFBUTTON_MOUSEOVER</constant>, <constant>SWFBUTTON_MOUSEOUT</constant>, <constant>SWFBUTTON_MOUSEUP</constant>, <constant>SWFBUTTON_MOUSEUPOUTSIDE</constant>, <constant>SWFBUTTON_MOUSEDOWN</constant>, <constant>SWFBUTTON_DRAGOUT</constant> et <constant>SWFBUTTON_DRAGOVER</constant>. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/addasound.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/addasound.xml +++ phpdoc-fr/reference/ming/swfbutton/addasound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.addasound"> <refnamediv> <refname>SWFButton->addASound()</refname> <refpurpose>Associe un son à un bouton</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>SWFSoundInstance</type><methodname>addASound</methodname> <methodparam><type>SWFSound</type><parameter>sound</parameter></methodparam> <methodparam><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/addshape.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/addshape.xml +++ phpdoc-fr/reference/ming/swfbutton/addshape.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.addshape"> <refnamediv> <refname>SWFButton->addShape()</refname> <refpurpose>Ajoute une forme à un bouton</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addShape</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> <methodparam><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Ajoute la forme <parameter>shape</parameter> fournie au bouton. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>shape</parameter></term> <listitem> <para> Une instance de l'objet <classname>SWFShape</classname> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> Les drapeaux <parameter>flags</parameter> suivants sont valides : <constant>SWFBUTTON_UP</constant>, <constant>SWFBUTTON_OVER</constant>, <constant>SWFBUTTON_DOWN</constant> et <constant>SWFBUTTON_HIT</constant>. </para> <para> <constant>SWFBUTTON_HIT</constant> n'est pas toujours affiché, il définit la région du bouton. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/construct.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/construct.xml +++ phpdoc-fr/reference/ming/swfbutton/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.construct"> <refnamediv> <refname>SWFButton->__construct()</refname> <refpurpose>Crée un nouveau bouton</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>SWFButton</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Crée un nouveau bouton. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> Cet exemple simple montre une intéraction habituelle avec des boutons : rollover, rollon, mouseup, mousedown, noaction. <example> <title>Intéractions habituelles avec les boutons</title> <programlisting role="php"> <![CDATA[ <?php $f = new SWFFont("_serif"); $p = new SWFSprite(); function label($string) { global $f; $t = new SWFTextField(); $t->setFont($f); $t->addString($string); $t->setHeight(200); $t->setBounds(3200, 200); return $t; } function addLabel($string) { global $p; $i = $p->add(label($string)); $p->nextFrame(); $p->remove($i); } $p->add(new SWFAction("stop();")); addLabel("NO ACTION"); addLabel("SWFBUTTON_MOUSEUP"); addLabel("SWFBUTTON_MOUSEDOWN"); addLabel("SWFBUTTON_MOUSEOVER"); addLabel("SWFBUTTON_MOUSEOUT"); addLabel("SWFBUTTON_MOUSEUPOUTSIDE"); addLabel("SWFBUTTON_DRAGOVER"); addLabel("SWFBUTTON_DRAGOUT"); function rect($r, $g, $b) { $s = new SWFShape(); $s->setRightFill($s->addFill($r, $g, $b)); $s->drawLine(600, 0); $s->drawLine(0, 600); $s->drawLine(-600, 0); $s->drawLine(0, -600); return $s; } $b = new SWFButton(); $b->addShape(rect(0xff, 0, 0), SWFBUTTON_UP | SWFBUTTON_HIT); $b->addShape(rect(0, 0xff, 0), SWFBUTTON_OVER); $b->addShape(rect(0, 0, 0xff), SWFBUTTON_DOWN); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(1);"), SWFBUTTON_MOUSEUP); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(2);"), SWFBUTTON_MOUSEDOWN); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(3);"), SWFBUTTON_MOUSEOVER); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(4);"), SWFBUTTON_MOUSEOUT); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(5);"), SWFBUTTON_MOUSEUPOUTSIDE); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(6);"), SWFBUTTON_DRAGOVER); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(7);"), SWFBUTTON_DRAGOUT); $m = new SWFMovie(); $m->setDimension(4000, 3000); $i = $m->add($p); $i->setName("label"); $i->moveTo(400, 1900); $i = $m->add($b); $i->moveTo(400, 900); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <para> Cet exemple simple vous permet d'afficher un gros bouton rouge dans la fenêtre. Pas de glisser / déposer, il bouge uniquement. <example> <title>Exemple de glisser</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $s->setRightFill($s->addFill(0xff, 0, 0)); $s->drawLine(1000,0); $s->drawLine(0,1000); $s->drawLine(-1000,0); $s->drawLine(0,-1000); $b = new SWFButton(); $b->addShape($s, SWFBUTTON_HIT | SWFBUTTON_UP | SWFBUTTON_DOWN | SWFBUTTON_OVER); $b->addAction(new SWFAction("startDrag('/test', 0);"), // '0' signifie qu'il n'est pas verrouillé sur la souris SWFBUTTON_MOUSEDOWN); $b->addAction(new SWFAction("stopDrag();"), SWFBUTTON_MOUSEUP | SWFBUTTON_MOUSEUPOUTSIDE); $p = new SWFSprite(); $p->add($b); $p->nextFrame(); $m = new SWFMovie(); $i = $m->add($p); $i->setName('test'); $i->moveTo(1000,1000); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setaction.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setaction.xml +++ phpdoc-fr/reference/ming/swfbutton/setaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setaction"> <refnamediv> <refname>SWFButton->setAction()</refname> <refpurpose>Définit l'action</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setAction</methodname> <methodparam><type>SWFAction</type><parameter>action</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Définit l'action à exécuter lorsque le bouton est clické. </para> <para> C'est un raccourci pour <xref linkend="function.swfbutton.addaction" /> appelé avec le drapeau <constant>SWFBUTTON_MOUSEUP</constant>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> Un objet <classname>SWFAction</classname>, retourné par <xref linkend="function.swfaction.construct" />. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addaction" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setdown.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setdown.xml +++ phpdoc-fr/reference/ming/swfbutton/setdown.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setdown"> <refnamediv> <refname>SWFButton->setDown()</refname> <refpurpose>Alias pour addShape(shape, SWFBUTTON_DOWN)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setDown</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfbutton->setdown</function> est un alias pour addShape(shape, SWFBUTTON_DOWN). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/sethit.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/sethit.xml +++ phpdoc-fr/reference/ming/swfbutton/sethit.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.sethit"> <refnamediv> <refname>SWFButton->setHit()</refname> <refpurpose>Alias pour addShape(shape, SWFBUTTON_HIT)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setHit</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfbutton->sethit</function> est un alias pour addShape(shape, SWFBUTTON_HIT). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setmenu.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setmenu.xml +++ phpdoc-fr/reference/ming/swfbutton/setmenu.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setmenu"> <refnamediv> <refname>SWFButton->setMenu()</refname> <refpurpose>Active un menu sur un bouton</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setMenu</methodname> <methodparam><type>int</type><parameter>flag</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>flag</parameter></term> <listitem> <para> Ce paramètre peut être utilisé pour un comportement différent des boutons. Vous pouvez le définir à 0 (off) ou 1 (on). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setover.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setover.xml +++ phpdoc-fr/reference/ming/swfbutton/setover.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setover"> <refnamediv> <refname>SWFButton->setOver()</refname> <refpurpose>Alias pour addShape(shape, SWFBUTTON_OVER)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setOver</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfbutton->setover</function> est un alias pour addShape(shape, SWFBUTTON_OVER). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 --> http://cvs.php.net/viewvc.cgi/phpdoc-fr/reference/ming/swfbutton/setup.xml?view=markup&rev=1.1 Index: phpdoc-fr/reference/ming/swfbutton/setup.xml +++ phpdoc-fr/reference/ming/swfbutton/setup.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- EN-Revision: 1.1 Maintainer: yannick Status: ready --> <!-- Reviewed: no --> <refentry id="function.swfbutton.setup"> <refnamediv> <refname>SWFButton->setUp()</refname> <refpurpose>Alias pour addShape(shape, SWFBUTTON_UP)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFButton</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setUp</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfbutton->setup</function> est un alias pour addShape(shape, SWFBUTTON_UP). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="ming.swfaction" /></member> </simplelist> </para> </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 -->