cvs: phpdoc /en/reference/ming reference.xml swfaction.xml swfbitmap.xml swfbutton.xml swfdisplayitem.xml swffill.xml swffont.xml swffontchar.xml
swfgradient.xml swfmorph.xml swfmovie.xml swfprebuiltclip.xml swfshape.xml swfsound.xml swfsprite.xml swftext.xml swftextfield.xml swfvideostream.xml
/en/reference/ming/functions SWFButton.addASound.xml SWFButton.setMenu.xml SWFDisplayItem.addAction.xml SWFDisplayItem.endMask.xml
SWFDisplayItem.getRot.xml SWFDisplayItem.getX.xml SWFDisplayItem.getXScale.xml SWFDisplayItem.getXSkew.xml SWFDisplayItem.getY.xml
SWFDisplayItem.getYScale.xml SWFDisplayItem.getYSkew.xml SWFDisplayItem.setMaskLevel.xml SWFDisplayItem.setMatrix.xml SWFFont.getAscent.xml
SWFFont.getDescent.xml SWFFont.getLeading.xml SWFFont.getShape.xml SWFFont.getUTF8Width.xml SWFFontChar.addChars.xml SWFFontChar.addUTF8Chars.xml
SWFMovie.addExport.xml SWFMovie.addFont.xml SWFMovie.importChar.xml SWFMovie.importFont.xml SWFMovie.labelFrame.xml SWFMovie.saveToFile! .xml
SWFMovie.startSound.xml SWFMovie.stopSound.xml SWFMovie.writeExports.xml SWFPrebuiltClip.xml SWFShape.drawArc.xml SWFShape.drawCircle.xml
SWFShape.drawCubic.xml SWFShape.drawCubicTo.xml SWFShape.drawGlyph.xml SWFSound.xml SWFSoundInstance.loopCount.xml SWFSoundInstance.loopInPoint.xml
SWFSoundInstance.loopOutPoint.xml SWFSoundInstance.noMultiple.xml SWFSprite.labelFrame.xml SWFSprite.startSound.xml SWFSprite.stopSound.xml
SWFText.addUTF8String.xml SWFText.getAscent.xml SWFText.getDescent.xml SWFText.getLeading.xml SWFText.getUTF8Width.xml SWFTextField.addChars.xml
SWFTextField.setPadding.xml SWFVideoStream.getNumFrames.xml SWFVideoStream.setDimension.xml SWFVideoStream.xml ming-keypress.xml
ming-setcubicthreshold.xml ming-setscale.xml ming-useconstants.xml ming-useswfversion.xml swfaction.xml swfbitmap.getheight.xml swfbitmap.getwidth.xml
swfbitmap.xml swfbutton.addaction.xml swfbutton.addshape.xml swfbutton.setaction.xml swfbutton.setdown.xml swfbutton.sethit.xml swfb!
utton.setover.xml swfbutton.setup.xml swfbutton.xml swfdisplayitem.addcolor.xml swfdisplayitem.move.xml swfdisplayitem.moveto.xml
swfdisplayitem.multcolor.xml swfdisplayitem.remove.xml swfdisplayitem.rotate.xml swfdisplayitem.rotateto.xml swfdisplayitem.scale.xml
swfdisplayitem.scaleto.xml swfdisplayitem.setdepth.xml swfdisp
| From: | Mehdi Achour | Date: | Sun, 21 Jan 2007 05:08:13 +0000 |
| Subject: | cvs: phpdoc /en/reference/ming reference.xml swfaction.xml swfbitmap.xml swfbutton.xml swfdisplayitem.xml swffill.xml swffont.xml swffontchar.xml swfgradient.xml swfmorph.xml swfmovie.xml swfprebuiltclip.xml swfshape.xml swfsound.xml swfsprite.xml swftext.xml swftextfield.xml swfvideostream.xml /en/reference/ming/functions SWFButton.addASound.xml SWFButton.setMenu.xml SWFDisplayItem.addAction.xml SWFDisplayItem.endMask.xml SWFDisplayItem.getRot.xml SWFDisplayItem.getX.xml SWFDisplayItem.getXScale.xml SWFDisplayItem.getXSkew.xml SWFDisplayItem.getY.xml SWFDisplayItem.getYScale.xml SWFDisplayItem.getYSkew.xml SWFDisplayItem.setMaskLevel.xml SWFDisplayItem.setMatrix.xml SWFFont.getAscent.xml SWFFont.getDescent.xml SWFFont.getLeading.xml SWFFont.getShape.xml SWFFont.getUTF8Width.xml SWFFontChar.addChars.xml SWFFontChar.addUTF8Chars.xml SWFMovie.addExport.xml SWFMovie.addFont.xml SWFMovie.importChar.xml SWFMovie.importFont.xml SWFMovie.labelFrame.xml SWFMovie.saveToFile! .xml SWFMovie.startSound.xml SWFMovie.stopSound.xml SWFMovie.writeExports.xml SWFPrebuiltClip.xml SWFShape.drawArc.xml SWFShape.drawCircle.xml SWFShape.drawCubic.xml SWFShape.drawCubicTo.xml SWFShape.drawGlyph.xml SWFSound.xml SWFSoundInstance.loopCount.xml SWFSoundInstance.loopInPoint.xml SWFSoundInstance.loopOutPoint.xml SWFSoundInstance.noMultiple.xml SWFSprite.labelFrame.xml SWFSprite.startSound.xml SWFSprite.stopSound.xml SWFText.addUTF8String.xml SWFText.getAscent.xml SWFText.getDescent.xml SWFText.getLeading.xml SWFText.getUTF8Width.xml SWFTextField.addChars.xml SWFTextField.setPadding.xml SWFVideoStream.getNumFrames.xml SWFVideoStream.setDimension.xml SWFVideoStream.xml ming-keypress.xml ming-setcubicthreshold.xml ming-setscale.xml ming-useconstants.xml ming-useswfversion.xml swfaction.xml swfbitmap.getheight.xml swfbitmap.getwidth.xml swfbitmap.xml swfbutton.addaction.xml swfbutton.addshape.xml swfbutton.setaction.xml swfbutton.setdown.xml swfbutton.sethit.xml swfb! utton.setover.xml swfbutton.setup.xml swfbutton.xml swfdisplayitem.addcolor.xml swfdisplayitem.move.xml swfdisplayitem.moveto.xml swfdisplayitem.multcolor.xml swfdisplayitem.remove.xml swfdisplayitem.rotate.xml swfdisplayitem.rotateto.xml swfdisplayitem.scale.xml swfdisplayitem.scaleto.xml swfdisplayitem.setdepth.xml swfdisp |
||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969374922@lists.php.net to get a copy of this message | ||
didou Sun Jan 21 05:08:13 2007 UTC
Added files:
/phpdoc/en/reference/ming swfaction.xml swfbitmap.xml swfbutton.xml
swfdisplayitem.xml swffill.xml
swffont.xml swffontchar.xml
swfgradient.xml swfmorph.xml swfmovie.xml
swfprebuiltclip.xml swfshape.xml
swfsound.xml swfsprite.xml swftext.xml
swftextfield.xml swfvideostream.xml
/phpdoc/en/reference/ming/functions ming-useconstants.xml
/phpdoc/en/reference/ming/swfaction construct.xml
/phpdoc/en/reference/ming/swfbitmap construct.xml getheight.xml
getwidth.xml
/phpdoc/en/reference/ming/swfbutton addaction.xml addasound.xml
addshape.xml construct.xml
setaction.xml setdown.xml
sethit.xml setmenu.xml
setover.xml setup.xml
/phpdoc/en/reference/ming/swfdisplayitem addaction.xml addcolor.xml
endmask.xml getrot.xml
getx.xml getxscale.xml
getxskew.xml gety.xml
getyscale.xml getyskew.xml
move.xml moveto.xml
multcolor.xml remove.xml
rotate.xml rotateto.xml
scale.xml scaleto.xml
setdepth.xml
setmasklevel.xml
setmatrix.xml setname.xml
setratio.xml skewx.xml
skewxto.xml skewy.xml
skewyto.xml
/phpdoc/en/reference/ming/swffill moveto.xml rotateto.xml
scaleto.xml skewxto.xml
skewyto.xml
/phpdoc/en/reference/ming/swffont construct.xml getascent.xml
getdescent.xml getleading.xml
getshape.xml getutf8width.xml
getwidth.xml
/phpdoc/en/reference/ming/swffontchar addchars.xml addutf8chars.xml
/phpdoc/en/reference/ming/swfgradient addentry.xml construct.xml
/phpdoc/en/reference/ming/swfmorph construct.xml getshape1.xml
getshape2.xml
/phpdoc/en/reference/ming/swfmovie add.xml addexport.xml
addfont.xml construct.xml
importchar.xml importfont.xml
labelframe.xml nextframe.xml
output.xml remove.xml save.xml
savetofile.xml setbackground.xml
setdimension.xml setframes.xml
setrate.xml startsound.xml
stopsound.xml streammp3.xml
writeexports.xml
/phpdoc/en/reference/ming/swfprebuiltclip construct.xml
/phpdoc/en/reference/ming/swfshape addfill.xml construct.xml
drawarc.xml drawcircle.xml
drawcubic.xml drawcubicto.xml
drawcurve.xml drawcurveto.xml
drawglyph.xml drawline.xml
drawlineto.xml movepen.xml
movepento.xml setleftfill.xml
setline.xml setrightfill.xml
/phpdoc/en/reference/ming/swfsound construct.xml
/phpdoc/en/reference/ming/swfsoundinstance loopcount.xml
loopinpoint.xml
loopoutpoint.xml
nomultiple.xml
/phpdoc/en/reference/ming/swfsprite add.xml construct.xml
labelframe.xml nextframe.xml
remove.xml setframes.xml
startsound.xml stopsound.xml
/phpdoc/en/reference/ming/swftext addstring.xml addutf8string.xml
construct.xml getascent.xml
getdescent.xml getleading.xml
getutf8width.xml getwidth.xml
moveto.xml setcolor.xml
setfont.xml setheight.xml
setspacing.xml
/phpdoc/en/reference/ming/swftextfield addchars.xml addstring.xml
align.xml construct.xml
setbounds.xml setcolor.xml
setfont.xml setheight.xml
setindentation.xml
setleftmargin.xml
setlinespacing.xml
setmargins.xml setname.xml
setpadding.xml
setrightmargin.xml
/phpdoc/en/reference/ming/swfvideostream construct.xml
getnumframes.xml
setdimension.xml
Removed files:
/phpdoc/en/reference/ming/functions SWFButton.addASound.xml
SWFButton.setMenu.xml
SWFDisplayItem.addAction.xml
SWFDisplayItem.endMask.xml
SWFDisplayItem.getRot.xml
SWFDisplayItem.getX.xml
SWFDisplayItem.getXScale.xml
SWFDisplayItem.getXSkew.xml
SWFDisplayItem.getY.xml
SWFDisplayItem.getYScale.xml
SWFDisplayItem.getYSkew.xml
SWFDisplayItem.setMaskLevel.xml
SWFDisplayItem.setMatrix.xml
SWFFont.getAscent.xml
SWFFont.getDescent.xml
SWFFont.getLeading.xml
SWFFont.getShape.xml
SWFFont.getUTF8Width.xml
SWFFontChar.addChars.xml
SWFFontChar.addUTF8Chars.xml
SWFMovie.addExport.xml
SWFMovie.addFont.xml
SWFMovie.importChar.xml
SWFMovie.importFont.xml
SWFMovie.labelFrame.xml
SWFMovie.saveToFile.xml
SWFMovie.startSound.xml
SWFMovie.stopSound.xml
SWFMovie.writeExports.xml
SWFPrebuiltClip.xml
SWFShape.drawArc.xml
SWFShape.drawCircle.xml
SWFShape.drawCubic.xml
SWFShape.drawCubicTo.xml
SWFShape.drawGlyph.xml
SWFSound.xml
SWFSoundInstance.loopCount.xml
SWFSoundInstance.loopInPoint.xml
SWFSoundInstance.loopOutPoint.xml
SWFSoundInstance.noMultiple.xml
SWFSprite.labelFrame.xml
SWFSprite.startSound.xml
SWFSprite.stopSound.xml
SWFText.addUTF8String.xml
SWFText.getAscent.xml
SWFText.getDescent.xml
SWFText.getLeading.xml
SWFText.getUTF8Width.xml
SWFTextField.addChars.xml
SWFTextField.setPadding.xml
SWFVideoStream.getNumFrames.xml
SWFVideoStream.setDimension.xml
SWFVideoStream.xml
swfaction.xml
swfbitmap.getheight.xml
swfbitmap.getwidth.xml
swfbitmap.xml
swfbutton.addaction.xml
swfbutton.addshape.xml
swfbutton.setaction.xml
swfbutton.setdown.xml
swfbutton.sethit.xml
swfbutton.setover.xml
swfbutton.setup.xml
swfbutton.xml
swfdisplayitem.addcolor.xml
swfdisplayitem.move.xml
swfdisplayitem.moveto.xml
swfdisplayitem.multcolor.xml
swfdisplayitem.remove.xml
swfdisplayitem.rotate.xml
swfdisplayitem.rotateto.xml
swfdisplayitem.scale.xml
swfdisplayitem.scaleto.xml
swfdisplayitem.setdepth.xml
swfdisplayitem.setname.xml
swfdisplayitem.setratio.xml
swfdisplayitem.skewx.xml
swfdisplayitem.skewxto.xml
swfdisplayitem.skewy.xml
swfdisplayitem.skewyto.xml
swffill.moveto.xml
swffill.rotateto.xml
swffill.scaleto.xml
swffill.skewxto.xml
swffill.skewyto.xml swffill.xml
swffont.getwidth.xml
swffont.xml
swfgradient.addentry.xml
swfgradient.xml
swfmorph.getshape1.xml
swfmorph.getshape2.xml
swfmorph.xml swfmovie.add.xml
swfmovie.nextframe.xml
swfmovie.output.xml
swfmovie.remove.xml
swfmovie.save.xml
swfmovie.setbackground.xml
swfmovie.setdimension.xml
swfmovie.setframes.xml
swfmovie.setrate.xml
swfmovie.streammp3.xml
swfmovie.xml
swfshape.addfill.xml
swfshape.drawcurve.xml
swfshape.drawcurveto.xml
swfshape.drawline.xml
swfshape.drawlineto.xml
swfshape.movepen.xml
swfshape.movepento.xml
swfshape.setleftfill.xml
swfshape.setline.xml
swfshape.setrightfill.xml
swfshape.xml swfsprite.add.xml
swfsprite.nextframe.xml
swfsprite.remove.xml
swfsprite.setframes.xml
swfsprite.xml
swftext.addstring.xml
swftext.getwidth.xml
swftext.moveto.xml
swftext.setcolor.xml
swftext.setfont.xml
swftext.setheight.xml
swftext.setspacing.xml
swftext.xml
swftextfield.addstring.xml
swftextfield.align.xml
swftextfield.setbounds.xml
swftextfield.setcolor.xml
swftextfield.setfont.xml
swftextfield.setheight.xml
swftextfield.setindentation.xml
swftextfield.setleftmargin.xml
swftextfield.setlinespacing.xml
swftextfield.setmargins.xml
swftextfield.setname.xml
swftextfield.setrightmargin.xml
swftextfield.xml
Modified files:
/phpdoc/en/reference/ming reference.xml
/phpdoc/en/reference/ming/functions ming-keypress.xml
ming-setcubicthreshold.xml
ming-setscale.xml
ming-useswfversion.xml
Log:
Rewrite ref.ming to fit the new doc style
# Removed the email as it doesn't work anymore (too many spam)
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/reference.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/ming/reference.xml diff -u phpdoc/en/reference/ming/reference.xml:1.8 phpdoc/en/reference/ming/reference.xml:1.9 --- phpdoc/en/reference/ming/reference.xml:1.8 Mon Sep 5 15:39:41 2005 +++ phpdoc/en/reference/ming/reference.xml Sun Jan 21 05:08:09 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- Purpose: utilspec.nontext --> <!-- Membership: bundled, external --> @@ -33,7 +33,7 @@ them. Ming provides some insulation from the mundane details of the SWF file format, wrapping the movie elements in PHP objects. Also, Ming is still being maintained; if there's a feature that you want to see, just - let us know <ulink url="mailto:&email.ming;">&email.ming;</ulink>. + let us know at <ulink url="&url.ming;">&url.ming;</ulink>. </para> <para> Ming was added in PHP 4.0.5. @@ -76,10 +76,56 @@ &reference.ming.constants; - &reference.ming.classes; + <section id="ming.classes"> + &reftitle.classes; + &extension.classes; + <para> + Ming introduces 13 new objects in PHP, all with matching methods and + attributes. To use them, you need to know about + <link linkend="language.oop">objects</link>. + </para> + + <section> + <title>Classes</title> + <simplelist> + <member><link linkend="ming.swfaction"><classname>SWFAction</classname></link></member> + <member><link linkend="ming.swfbitmap"><classname>SWFBitmap</classname></link></member> + <member><link linkend="ming.swfbutton"><classname>SWFButton</classname></link></member> + <member><link linkend="ming.swfdisplayitem"><classname>SWFDisplayItem</classname></link></member> + <member><link linkend="ming.swffill"><classname>SWFFill</classname></link></member> + <member><link linkend="ming.swffont"><classname>SWFFont</classname></link></member> + <member><link linkend="ming.swfgradient"><classname>SWFGradient</classname></link></member> + <member><link linkend="ming.swfmorph"><classname>SWFMorph</classname></link></member> + <member><link linkend="ming.swfmovie"><classname>SWFMovie</classname></link></member> + <member><link linkend="ming.swfprebuiltclip"><classname>SWFPrebuiltClip</classname></link></member> + <member><link linkend="ming.swfshape"><classname>SWFShape</classname></link></member> + <member><link linkend="ming.swfsound"><classname>SWFSound</classname></link></member> + <member><link linkend="ming.swfsprite"><classname>SWFSprite</classname></link></member> + <member><link linkend="ming.swftext"><classname>SWFText</classname></link></member> + <member><link linkend="ming.swftextfield"><classname>SWFTextField</classname></link></member> + <member><link linkend="ming.swfvideostream"><classname>SWFVideoStream</classname></link></member> + </simplelist> + </section> + + </section> </partintro> - +&reference.ming.swfaction; +&reference.ming.swfbitmap; +&reference.ming.swfbutton; +&reference.ming.swfdisplayitem; +&reference.ming.swffill; +&reference.ming.swffont; +&reference.ming.swfgradient; +&reference.ming.swfmorph; +&reference.ming.swfmovie; +&reference.ming.swfprebuiltclip; +&reference.ming.swfshape; +&reference.ming.swfsound; +&reference.ming.swfsprite; +&reference.ming.swftext; +&reference.ming.swftextfield; +&reference.ming.swfvideostream; &reference.ming.functions; </reference> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-keypress.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/ming/functions/ming-keypress.xml diff -u phpdoc/en/reference/ming/functions/ming-keypress.xml:1.2 phpdoc/en/reference/ming/functions/ming-keypress.xml:1.3 --- phpdoc/en/reference/ming/functions/ming-keypress.xml:1.2 Wed Sep 6 20:40:39 2006 +++ phpdoc/en/reference/ming/functions/ming-keypress.xml Sun Jan 21 05:08:10 2007 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. --> +<!-- $Revision: 1.3 $ --> <refentry id="function.ming-keypress"> <refnamediv> <refname>ming_keypress</refname> @@ -10,7 +9,7 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>ming_keypress</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam><type>string</type><parameter>char</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; @@ -39,86 +38,8 @@ </para> </refsect1> - Use when EXCEPTIONS exist - <refsect1 role="errors"> - &reftitle.errors; - <para> - When does this function throw E_* level errors, or exceptions? - </para> - </refsect1> - --> - - - <!-- Use when a CHANGELOG exists - <refsect1 role="changelog"> - &reftitle.changelog; - <para> - <informaltable> - <tgroup cols="2"> - <thead> - <row> - <entry>&Version;</entry> - <entry>&Description;</entry> - </row> - </thead> - <tbody> - <row> - <entry>Enter the PHP version of change here</entry> - <entry>Description of change</entry> - </row> - </tbody> - </tgroup> - </informaltable> - </para> - </refsect1> - --> - - - <!-- Use when examples exist - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title>A <function>ming_keypress</function> example</title> - <para> - Any text that describes the purpose of the example, or - what goes on in the example should go here (inside the - <example> tag, not out - </para> - <programlisting role="php"> -<![CDATA[ -<?php -if ($anexample === true) { - echo 'Use the PEAR Coding Standards'; -} -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -Use the PEAR Coding Standards -]]> - </screen> - </example> - </para> - </refsect1> --> - - <!-- Use when adding See Also links - <refsect1 role="seealso"> - &reftitle.seealso; - <para> - <simplelist> - <member><function></function></member> - <member>Or <link linkend="somethingelse">something else</link></member> - </simplelist> - </para> - </refsect1> - --> - - </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml diff -u phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml:1.2 phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml:1.3 --- phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml:1.2 Wed Apr 17 06:40:24 2002 +++ phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml Sun Jan 21 05:08:10 2007 @@ -1,24 +1,47 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/ming.xml, last change in rev 1.30 --> - <refentry id='function.ming-setcubicthreshold'> - <refnamediv> - <refname>ming_setcubicthreshold</refname> - <refpurpose> - Set cubic threshold (?) - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>ming_setcubicthreshold</methodname> - <methodparam><type>int</type><parameter>threshold</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<refentry id='function.ming-setcubicthreshold'> + <refnamediv> + <refname>ming_setcubicthreshold</refname> + <refpurpose> + Set cubic threshold + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>ming_setcubicthreshold</methodname> + <methodparam><type>int</type><parameter>threshold</parameter></methodparam> + </methodsynopsis> + <para> + Sets the threshold error for drawing cubic beziers. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>threshold</parameter></term> + <listitem> + <para> + The Threshold. Lower is more accurate, hence larger file size. + </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: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-setscale.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/ming/functions/ming-setscale.xml diff -u phpdoc/en/reference/ming/functions/ming-setscale.xml:1.2 phpdoc/en/reference/ming/functions/ming-setscale.xml:1.3 --- phpdoc/en/reference/ming/functions/ming-setscale.xml:1.2 Wed Apr 17 06:40:25 2002 +++ phpdoc/en/reference/ming/functions/ming-setscale.xml Sun Jan 21 05:08:10 2007 @@ -1,24 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/ming.xml, last change in rev 1.30 --> - <refentry id='function.ming-setscale'> - <refnamediv> - <refname>ming_setscale</refname> - <refpurpose> - Set scale (?) - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>ming_setscale</methodname> - <methodparam><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<refentry id='function.ming-setscale'> + <refnamediv> + <refname>ming_setscale</refname> + <refpurpose> + Set scale + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>ming_setscale</methodname> + <methodparam><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-useswfversion.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/ming/functions/ming-useswfversion.xml diff -u phpdoc/en/reference/ming/functions/ming-useswfversion.xml:1.2 phpdoc/en/reference/ming/functions/ming-useswfversion.xml:1.3 --- phpdoc/en/reference/ming/functions/ming-useswfversion.xml:1.2 Wed Apr 17 06:40:25 2002 +++ phpdoc/en/reference/ming/functions/ming-useswfversion.xml Sun Jan 21 05:08:10 2007 @@ -1,24 +1,29 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/ming.xml, last change in rev 1.30 --> - <refentry id='function.ming-useswfversion'> - <refnamediv> - <refname>ming_useswfversion</refname> - <refpurpose> - Use SWF version (?) - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>ming_useswfversion</methodname> - <methodparam><type>int</type><parameter>version</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<refentry id='function.ming-useswfversion'> + <refnamediv> + <refname>ming_useswfversion</refname> + <refpurpose>Sets the SWF version</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>ming_useswfversion</methodname> + <methodparam><type>int</type><parameter>version</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/swfaction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfaction.xml +++ phpdoc/en/reference/ming/swfaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfaction"> <refnamediv> <refname>SWFAction</refname> <refpurpose>SWFAction Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> The script syntax is based on the C language, but with a lot taken out- the SWF bytecode machine is just too simpleminded to do a lot of things we might like. For instance, we can't implement function calls without a tremendous amount of hackery because the jump bytecode has a hardcoded offset value. No pushing your calling address to the stack and returning- every function would have to know exactly where to return to. </para> <para> So what's left? The compiler recognises the following tokens: <itemizedlist> <listitem> <simpara> break </simpara> </listitem> <listitem> <simpara> for </simpara> </listitem> <listitem> <simpara> continue </simpara> </listitem> <listitem> <simpara> if </simpara> </listitem> <listitem> <simpara> else </simpara> </listitem> <listitem> <simpara> do </simpara> </listitem> <listitem> <simpara> while </simpara> </listitem> </itemizedlist> </para> <para> There is no typed data; all values in the SWF action machine are stored as strings. The following functions can be used in expressions: <variablelist> <varlistentry> <term>time()</term> <listitem> <simpara> Returns the number of milliseconds (?) elapsed since the movie started. </simpara> </listitem> </varlistentry> <varlistentry> <term>random(seed)</term> <listitem> <simpara> Returns a pseudo-random number in the range 0-seed. </simpara> </listitem> </varlistentry> <varlistentry> <term>length(expr)</term> <listitem> <simpara> Returns the length of the given expression. </simpara> </listitem> </varlistentry> <varlistentry> <term>int(number)</term> <listitem> <simpara> Returns the given number rounded down to the nearest integer. </simpara> </listitem> </varlistentry> <varlistentry> <term>concat(expr, expr)</term> <listitem> <simpara> Returns the concatenation of the given expressions. </simpara> </listitem> </varlistentry> <varlistentry> <term>ord(expr)</term> <listitem> <simpara> Returns the ASCII code for the given character </simpara> </listitem> </varlistentry> <varlistentry> <term>chr(num)</term> <listitem> <simpara> Returns the character for the given ASCII code </simpara> </listitem> </varlistentry> <varlistentry> <term>substr(string, location, length)</term> <listitem> <simpara> Returns the substring of length <parameter>length</parameter> at location <parameter>location</parameter> of the given string <parameter>string</parameter>. </simpara> </listitem> </varlistentry> </variablelist> </para> <para> Additionally, the following commands may be used: <variablelist> <varlistentry> <term>duplicateClip(clip, name, depth)</term> <listitem> <simpara> Duplicate the named movie <parameter>clip</parameter> (aka sprite). The new movie clip has name <parameter>name</parameter> and is at depth <parameter>depth</parameter>. </simpara> </listitem> </varlistentry> <varlistentry> <term>removeClip(expr)</term> <listitem> <simpara> Removes the named movie clip. </simpara> </listitem> </varlistentry> <varlistentry> <term>trace(expr)</term> <listitem> <simpara> Write the given expression to the trace log. Doubtful that the browser plugin does anything with this. </simpara> </listitem> </varlistentry> <varlistentry> <term>startDrag(target, lock, [left, top, right, bottom])</term> <listitem> <simpara> Start dragging the movie clip <parameter>target</parameter>. The <parameter>lock</parameter> argument indicates whether to lock the mouse (?)- use 0 (&false;) or 1 (&true;). Optional parameters define a bounding area for the dragging. </simpara> </listitem> </varlistentry> <varlistentry> <term>stopDrag()</term> <listitem> <simpara> Stop dragging my heart around. And this movie clip, too. </simpara> </listitem> </varlistentry> <varlistentry> <term>callFrame(expr)</term> <listitem> <simpara> Call the named frame as a function. </simpara> </listitem> </varlistentry> <varlistentry> <term>getURL(url, target, [method])</term> <listitem> <simpara> Load the given URL into the named target. The <parameter>target</parameter> argument corresponds to HTML document targets (such as "_top" or "_blank"). The optional <parameter>method</parameter> argument can be POST or GET if you want to submit variables back to the server. </simpara> </listitem> </varlistentry> <varlistentry> <term>loadMovie(url, target)</term> <listitem> <simpara> Load the given URL into the named target. The <parameter>target</parameter> argument can be a frame name (I think), or one of the magical values "_level0" (replaces current movie) or "_level1" (loads new movie on top of current movie). </simpara> </listitem> </varlistentry> <varlistentry> <term>nextFrame()</term> <listitem> <simpara> Go to the next frame. </simpara> </listitem> </varlistentry> <varlistentry> <term>prevFrame()</term> <listitem> <simpara> Go to the last (or, rather, previous) frame. </simpara> </listitem> </varlistentry> <varlistentry> <term>play()</term> <listitem> <simpara> Start playing the movie. </simpara> </listitem> </varlistentry> <varlistentry> <term>stop()</term> <listitem> <simpara> Stop playing the movie. </simpara> </listitem> </varlistentry> <varlistentry> <term>toggleQuality()</term> <listitem> <simpara> Toggle between high and low quality. </simpara> </listitem> </varlistentry> <varlistentry> <term>stopSounds()</term> <listitem> <simpara> Stop playing all sounds. </simpara> </listitem> </varlistentry> <varlistentry> <term>gotoFrame(num)</term> <listitem> <simpara> Go to frame number <parameter>num</parameter>. Frame numbers start at 0. </simpara> </listitem> </varlistentry> <varlistentry> <term>gotoFrame(name)</term> <listitem> <simpara> Go to the frame named <parameter>name</parameter>. Which does a lot of good, since I haven't added frame labels yet. </simpara> </listitem> </varlistentry> <varlistentry> <term>setTarget(expr)</term> <listitem> <simpara> Sets the context for action. Or so they say- I really have no idea what this does. </simpara> </listitem> </varlistentry> </variablelist> And there's one weird extra thing. The expression frameLoaded(num) can be used in if statements and while loops to check if the given frame number has been loaded yet. Well, it's supposed to, anyway, but I've never tested it and I seriously doubt it actually works. You can just use /:framesLoaded instead. </para> <para> Movie clips (all together now- aka sprites) have properties. You can read all of them (or can you?), you can set some of them, and here they are: <itemizedlist> <listitem> <simpara> x </simpara> </listitem> <listitem> <simpara> y </simpara> </listitem> <listitem> <simpara> xScale </simpara> </listitem> <listitem> <simpara> yScale </simpara> </listitem> <listitem> <simpara> currentFrame - (read-only) </simpara> </listitem> <listitem> <simpara> totalFrames - (read-only) </simpara> </listitem> <listitem> <simpara> alpha - transparency level </simpara> </listitem> <listitem> <simpara> visible - 1=on, 0=off (?) </simpara> </listitem> <listitem> <simpara> width - (read-only) </simpara> </listitem> <listitem> <simpara> height - (read-only) </simpara> </listitem> <listitem> <simpara> rotation </simpara> </listitem> <listitem> <simpara> target - (read-only) (???) </simpara> </listitem> <listitem> <simpara> framesLoaded - (read-only) </simpara> </listitem> <listitem> <simpara> name </simpara> </listitem> <listitem> <simpara> dropTarget - (read-only) (???) </simpara> </listitem> <listitem> <simpara> url - (read-only) (???) </simpara> </listitem> <listitem> <simpara> highQuality - 1=high, 0=low (?) </simpara> </listitem> <listitem> <simpara> focusRect - (???) </simpara> </listitem> <listitem> <simpara> soundBufTime - (???) </simpara> </listitem> </itemizedlist> So, setting a sprite's x position is as simple as <literal>/box.x = 100;</literal>. Why the slash in front of the box, though? That's how flash keeps track of the sprites in the movie, just like a Unix filesystem- here it shows that box is at the top level. If the sprite named box had another sprite named biff inside of it, you'd set its x position with /box/biff.x = 100;. At least, I think so; correct me if I'm wrong here. </para> </refsect1> <refsect1 role="members" id="ming.swfaction.members"> <title>Class Members</title> <refsect2 id="ming.swfaction.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfaction.construct" /></member> </simplelist> </refsect2> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will move the red square across the window. <example> <title><function>swfaction</function> example</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $f = $s->addFill(0xff, 0, 0); $s->setRightFill($f); $s->movePenTo(-500, -500); $s->drawLineTo(500, -500); $s->drawLineTo(500, 500); $s->drawLineTo(-500, 500); $s->drawLineTo(-500, -500); $p = new SWFSprite(); $i = $p->add($s); $i->setDepth(1); $p->nextFrame(); for ($n=0; $n<5; ++$n) { $i->rotate(-15); $p->nextFrame(); } $m = new SWFMovie(); $m->setBackground(0xff, 0xff, 0xff); $m->setDimension(6000, 4000); $i = $m->add($p); $i->setDepth(1); $i->moveTo(-500,2000); $i->setName("box"); $m->add(new SWFAction("/box.x += 3;")); $m->nextFrame(); $m->add(new SWFAction("gotoFrame(0); play();")); $m->nextFrame(); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <para> This simple example tracks down your mouse on the screen. <example> <title><function>swfaction</function> example</title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setRate(36.0); $m->setDimension(1200, 800); $m->setBackground(0, 0, 0); /* mouse tracking sprite - empty, but follows mouse so we can get its x and y coordinates */ $i = $m->add(new SWFSprite()); $i->setName('mouse'); $m->add(new SWFAction(" startDrag('/mouse', 1); /* '1' means lock sprite to the mouse */ ")); /* might as well turn off antialiasing, since these are just squares. */ $m->add(new SWFAction(" this.quality = 0; ")); /* morphing box */ $r = new SWFMorph(); $s = $r->getShape1(); /* Note this is backwards from normal shapes. No idea why. */ $s->setLeftFill($s->addFill(0xff, 0xff, 0xff)); $s->movePenTo(-40, -40); $s->drawLine(80, 0); $s->drawLine(0, 80); $s->drawLine(-80, 0); $s->drawLine(0, -80); $s = $r->getShape2(); $s->setLeftFill($s->addFill(0x00, 0x00, 0x00)); $s->movePenTo(-1, -1); $s->drawLine(2, 0); $s->drawLine(0, 2); $s->drawLine(-2, 0); $s->drawLine(0, -2); /* sprite container for morphing box - this is just a timeline w/ the box morphing */ $box = new SWFSprite(); $box->add(new SWFAction(" stop(); ")); $i = $box->add($r); for ($n=0; $n<=20; ++$n) { $i->setRatio($n/20); $box->nextFrame(); } /* this container sprite allows us to use the same action code many times */ $cell = new SWFSprite(); $i = $cell->add($box); $i->setName('box'); $cell->add(new SWFAction(" setTarget('box'); /* ...x means the x coordinate of the parent, i.e. (..).x */ dx = (/mouse.x + random(6)-3 - ...x)/5; dy = (/mouse.y + random(6)-3 - ...y)/5; gotoFrame(int(dx*dx + dy*dy)); ")); $cell->nextFrame(); $cell->add(new SWFAction(" gotoFrame(0); play(); ")); $cell->nextFrame(); /* finally, add a bunch of the cells to the movie */ for ($x=0; $x<12; ++$x) { for ($y=0; $y<8; ++$y) { $i = $m->add($cell); $i->moveTo(100*$x+50, 100*$y+50); } } $m->nextFrame(); $m->add(new SWFAction(" gotoFrame(1); play(); ")); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <para> Same as above, but with nice colored balls... <example> <title><function>swfaction</function> example</title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setDimension(11000, 8000); $m->setBackground(0x00, 0x00, 0x00); $m->add(new SWFAction(" this.quality = 0; /frames.visible = 0; startDrag('/mouse', 1); ")); // mouse tracking sprite $t = new SWFSprite(); $i = $m->add($t); $i->setName('mouse'); $g = new SWFGradient(); $g->addEntry(0, 0xff, 0xff, 0xff, 0xff); $g->addEntry(0.1, 0xff, 0xff, 0xff, 0xff); $g->addEntry(0.5, 0xff, 0xff, 0xff, 0x5f); $g->addEntry(1.0, 0xff, 0xff, 0xff, 0); // gradient shape thing $s = new SWFShape(); $f = $s->addFill($g, SWFFILL_RADIAL_GRADIENT); $f->scaleTo(0.03); $s->setRightFill($f); $s->movePenTo(-600, -600); $s->drawLine(1200, 0); $s->drawLine(0, 1200); $s->drawLine(-1200, 0); $s->drawLine(0, -1200); // need to make this a sprite so we can multColor it $p = new SWFSprite(); $p->add($s); $p->nextFrame(); // put the shape in here, each frame a different color $q = new SWFSprite(); $q->add(new SWFAction("gotoFrame(random(7)+1); stop();")); $i = $q->add($p); $i->multColor(1.0, 1.0, 1.0); $q->nextFrame(); $i->multColor(1.0, 0.5, 0.5); $q->nextFrame(); $i->multColor(1.0, 0.75, 0.5); $q->nextFrame(); $i->multColor(1.0, 1.0, 0.5); $q->nextFrame(); $i->multColor(0.5, 1.0, 0.5); $q->nextFrame(); $i->multColor(0.5, 0.5, 1.0); $q->nextFrame(); $i->multColor(1.0, 0.5, 1.0); $q->nextFrame(); // finally, this one contains the action code $p = new SWFSprite(); $i = $p->add($q); $i->setName('frames'); $p->add(new SWFAction(" dx = (/:mousex-/:lastx)/3 + random(10)-5; dy = (/:mousey-/:lasty)/3; x = /:mousex; y = /:mousey; alpha = 100; ")); $p->nextFrame(); $p->add(new SWFAction(" this.x = x; this.y = y; this.alpha = alpha; x += dx; y += dy; dy += 3; alpha -= 8; ")); $p->nextFrame(); $p->add(new SWFAction("prevFrame(); play();")); $p->nextFrame(); $i = $m->add($p); $i->setName('frames'); $m->nextFrame(); $m->add(new SWFAction(" lastx = mousex; lasty = mousey; mousex = /mouse.x; mousey = /mouse.y; ++num; if (num == 11) num = 1; removeClip('char' & num); duplicateClip(/frames, 'char' & num, num); ")); $m->nextFrame(); $m->add(new SWFAction("prevFrame(); play();")); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <!-- Serious syntax errors in example <para> This simple example will handles keyboard actions. (You'll probably have to click in the window to give it focus. And you'll probably have to leave your mouse in the frame, too. If you know how to give buttons focus programatically, feel free to share, won't you?) <example> <title><function>swfaction</function> example</title> <programlisting role="php"> <![CDATA[ <?php /* sprite has one letter per frame */ $p = new SWFSprite(); $p->add(new SWFAction("stop();")); $chars = 'abcdefghijklmnopqrstuvwxyz'. 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. '1234567890!@#$%^&/*()_+-=/[]{}|;:,.<>?`~'; $f = new SWFFont("_sans"); for ($n=0; $nremove($i); $t = new SWFTextField(); $t->setFont($f); $t->setHeight(240); $t->setBounds(600,240); $t->align(SWFTEXTFIELD_ALIGN_CENTER); $t->addString($c); $i = $p->add($t); $p->labelFrame($c); $p->nextFrame(); } /* hit region for button - the entire frame */ $s = new SWFShape(); $s->setFillStyle0($s->addSolidFill(0, 0, 0, 0)); $s->drawLine(600, 0); $s->drawLine(0, 400); $s->drawLine(-600, 0); $s->drawLine(0, -400); /* button checks for pressed key, sends sprite to the right frame */ $b = new SWFButton(); $b->addShape($s, SWFBUTTON_HIT); for($n=0; $naddAction(new SWFAction(" setTarget('/char'); gotoFrame('$c'); "), SWFBUTTON_KEYPRESS($c)); } $m = new SWFMovie(); $m->setDimension(600,400); $i = $m->add($p); $i->setName('char'); $i->moveTo(0,80); $m->add($b); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> --> </refsect1> </refentry> &reference.ming.swfaction.construct; <!-- 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/en/reference/ming/swfbitmap.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbitmap.xml +++ phpdoc/en/reference/ming/swfbitmap.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfbitmap"> <refnamediv> <refname>SWFBitmap</refname> <refpurpose>SWFBitmap Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfbitmap.members"> <title>Class Members</title> <refsect2 id="ming.swfbitmap.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfbitmap.construct" /></member> <member><xref linkend="function.swfbitmap.getheight" /></member> <member><xref linkend="function.swfbitmap.getwidth" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfbitmap.construct; &reference.ming.swfbitmap.getheight; &reference.ming.swfbitmap.getwidth; <!-- 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/en/reference/ming/swfbutton.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton.xml +++ phpdoc/en/reference/ming/swfbutton.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfbutton"> <refnamediv> <refname>SWFButton</refname> <refpurpose>SWFButton Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfbutton.members"> <title>Class Members</title> <refsect2 id="ming.swfbutton.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfbutton.construct" /></member> <member><xref linkend="function.swfbutton.addaction" /></member> <member><xref linkend="function.swfbutton.addasound" /></member> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="function.swfbutton.setaction" /></member> <member><xref linkend="function.swfbutton.setdown" /></member> <member><xref linkend="function.swfbutton.sethit" /></member> <member><xref linkend="function.swfbutton.setmenu" /></member> <member><xref linkend="function.swfbutton.setover" /></member> <member><xref linkend="function.swfbutton.setup" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfbutton.construct; &reference.ming.swfbutton.addaction; &reference.ming.swfbutton.addasound; &reference.ming.swfbutton.addshape; &reference.ming.swfbutton.setaction; &reference.ming.swfbutton.setdown; &reference.ming.swfbutton.sethit; &reference.ming.swfbutton.setmenu; &reference.ming.swfbutton.setover; &reference.ming.swfbutton.setup; <!-- 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/en/reference/ming/swfdisplayitem.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem.xml +++ phpdoc/en/reference/ming/swfdisplayitem.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfdisplayitem"> <refnamediv> <refname>SWFDisplayItem</refname> <refpurpose>SWFDisplayItem Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfdisplayitem.members"> <title>Class Members</title> <refsect2 id="ming.swfdisplayitem.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfdisplayitem.addaction" /></member> <member><xref linkend="function.swfdisplayitem.addcolor" /></member> <member><xref linkend="function.swfdisplayitem.endmask" /></member> <member><xref linkend="function.swfdisplayitem.getrot" /></member> <member><xref linkend="function.swfdisplayitem.getx" /></member> <member><xref linkend="function.swfdisplayitem.getxscale" /></member> <member><xref linkend="function.swfdisplayitem.getxskew" /></member> <member><xref linkend="function.swfdisplayitem.gety" /></member> <member><xref linkend="function.swfdisplayitem.getyscale" /></member> <member><xref linkend="function.swfdisplayitem.getyskew" /></member> <member><xref linkend="function.swfdisplayitem.move" /></member> <member><xref linkend="function.swfdisplayitem.moveto" /></member> <member><xref linkend="function.swfdisplayitem.multcolor" /></member> <member><xref linkend="function.swfdisplayitem.remove" /></member> <member><xref linkend="function.swfdisplayitem.rotate" /></member> <member><xref linkend="function.swfdisplayitem.rotateto" /></member> <member><xref linkend="function.swfdisplayitem.scale" /></member> <member><xref linkend="function.swfdisplayitem.scaleto" /></member> <member><xref linkend="function.swfdisplayitem.setdepth" /></member> <member><xref linkend="function.swfdisplayitem.setmasklevel" /></member> <member><xref linkend="function.swfdisplayitem.setmatrix" /></member> <member><xref linkend="function.swfdisplayitem.setname" /></member> <member><xref linkend="function.swfdisplayitem.setratio" /></member> <member><xref linkend="function.swfdisplayitem.skewx" /></member> <member><xref linkend="function.swfdisplayitem.skewxto" /></member> <member><xref linkend="function.swfdisplayitem.skewy" /></member> <member><xref linkend="function.swfdisplayitem.skewyto" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfdisplayitem.addaction; &reference.ming.swfdisplayitem.addcolor; &reference.ming.swfdisplayitem.endmask; &reference.ming.swfdisplayitem.getrot; &reference.ming.swfdisplayitem.getx; &reference.ming.swfdisplayitem.getxscale; &reference.ming.swfdisplayitem.getxskew; &reference.ming.swfdisplayitem.gety; &reference.ming.swfdisplayitem.getyscale; &reference.ming.swfdisplayitem.getyskew; &reference.ming.swfdisplayitem.move; &reference.ming.swfdisplayitem.moveto; &reference.ming.swfdisplayitem.multcolor; &reference.ming.swfdisplayitem.remove; &reference.ming.swfdisplayitem.rotate; &reference.ming.swfdisplayitem.rotateto; &reference.ming.swfdisplayitem.scale; &reference.ming.swfdisplayitem.scaleto; &reference.ming.swfdisplayitem.setdepth; &reference.ming.swfdisplayitem.setmasklevel; &reference.ming.swfdisplayitem.setmatrix; &reference.ming.swfdisplayitem.setname; &reference.ming.swfdisplayitem.setratio; &reference.ming.swfdisplayitem.skewx; &reference.ming.swfdisplayitem.skewxto; &reference.ming.swfdisplayitem.skewy; &reference.ming.swfdisplayitem.skewyto; <!-- 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/en/reference/ming/swffill.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill.xml +++ phpdoc/en/reference/ming/swffill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swffill"> <refnamediv> <refname>SWFFill</refname> <refpurpose>SWFFill Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> The <classname>SWFFill</classname> object allows you to transform (scale, skew, rotate) bitmap and gradient fills. </para> <para> <classname>swffill</classname> objects are created by the <xref linkend="function.swfshape.addfill" /> method. </para> </refsect1> <refsect1 role="members" id="ming.swffill.members"> <title>Class Members</title> <refsect2 id="ming.swffill.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swffill.moveto" /></member> <member><xref linkend="function.swffill.rotateto" /></member> <member><xref linkend="function.swffill.scaleto" /></member> <member><xref linkend="function.swffill.skewxto" /></member> <member><xref linkend="function.swffill.skewyto" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swffill.moveto; &reference.ming.swffill.rotateto; &reference.ming.swffill.scaleto; &reference.ming.swffill.skewxto; &reference.ming.swffill.skewyto; <!-- 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/en/reference/ming/swffont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont.xml +++ phpdoc/en/reference/ming/swffont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swffont"> <refnamediv> <refname>SWFFont</refname> <refpurpose>SWFFont Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> The <classname>SWFFont</classname> object represent a reference to the font definition, for us with <xref linkend="function.swftext.setfont" /> and <xref linkend="function.swftextfield.setfont" />. </para> </refsect1> <refsect1 role="members" id="ming.swffont.members"> <title>Class Members</title> <refsect2 id="ming.swffont.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swffont.construct" /></member> <member><xref linkend="function.swffont.getascent" /></member> <member><xref linkend="function.swffont.getdescent" /></member> <member><xref linkend="function.swffont.getleading" /></member> <member><xref linkend="function.swffont.getshape" /></member> <member><xref linkend="function.swffont.getutf8width" /></member> <member><xref linkend="function.swffont.getwidth" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swffont.construct; &reference.ming.swffont.getascent; &reference.ming.swffont.getdescent; &reference.ming.swffont.getleading; &reference.ming.swffont.getshape; &reference.ming.swffont.getutf8width; &reference.ming.swffont.getwidth; <!-- 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/en/reference/ming/swffontchar.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffontchar.xml +++ phpdoc/en/reference/ming/swffontchar.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swffontchar"> <refnamediv> <refname>SWFFontChar</refname> <refpurpose>SWFFontChar Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swffontchar.members"> <title>Class Members</title> <refsect2 id="ming.swffontchar.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swffontchar.addchars" /></member> <member><xref linkend="function.swffontchar.addutf8chars" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swffontchar.addchars; &reference.ming.swffontchar.addutf8chars; <!-- 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/en/reference/ming/swfgradient.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfgradient.xml +++ phpdoc/en/reference/ming/swfgradient.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfgradient"> <refnamediv> <refname>SWFGradient</refname> <refpurpose>SWFGradient Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfgradient.members"> <title>Class Members</title> <refsect2 id="ming.swfgradient.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfgradient.construct" /></member> <member><xref linkend="function.swfgradient.addentry" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfgradient.construct; &reference.ming.swfgradient.addentry; <!-- 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/en/reference/ming/swfmorph.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmorph.xml +++ phpdoc/en/reference/ming/swfmorph.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfmorph"> <refnamediv> <refname>SWFMorph</refname> <refpurpose>SWFMorph Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> The methods here are sort of weird. It would make more sense to just have newSWFMorph(shape1, shape2);, but as things are now, shape2 needs to know that it's the second part of a morph. (This, because it starts writing its output as soon as it gets drawing commands- if it kept its own description of its shapes and wrote on completion this and some other things would be much easier.) </para> </refsect1> <refsect1 role="members" id="ming.swfmorph.members"> <title>Class Members</title> <refsect2 id="ming.swfmorph.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfmorph.construct" /></member> <member><xref linkend="function.swfmorph.getshape1" /></member> <member><xref linkend="function.swfmorph.getshape2" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfmorph.construct; &reference.ming.swfmorph.getshape1; &reference.ming.swfmorph.getshape2; <!-- 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/en/reference/ming/swfmovie.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie.xml +++ phpdoc/en/reference/ming/swfmovie.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfmovie"> <refnamediv> <refname>SWFMovie</refname> <refpurpose>SWFMovie Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> <classname>SWFMovie</classname> is a movie object representing an SWF movie. </para> </refsect1> <refsect1 role="members" id="ming.swfmovie.members"> <title>Class Members</title> <refsect2 id="ming.swfmovie.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfmovie.construct" /></member> <member><xref linkend="function.swfmovie.add" /></member> <member><xref linkend="function.swfmovie.addexport" /></member> <member><xref linkend="function.swfmovie.addfont" /></member> <member><xref linkend="function.swfmovie.importchar" /></member> <member><xref linkend="function.swfmovie.importfont" /></member> <member><xref linkend="function.swfmovie.labelframe" /></member> <member><xref linkend="function.swfmovie.nextframe" /></member> <member><xref linkend="function.swfmovie.output" /></member> <member><xref linkend="function.swfmovie.remove" /></member> <member><xref linkend="function.swfmovie.save" /></member> <member><xref linkend="function.swfmovie.savetofile" /></member> <member><xref linkend="function.swfmovie.setbackground" /></member> <member><xref linkend="function.swfmovie.setdimension" /></member> <member><xref linkend="function.swfmovie.setframes" /></member> <member><xref linkend="function.swfmovie.setrate" /></member> <member><xref linkend="function.swfmovie.startsound" /></member> <member><xref linkend="function.swfmovie.stopsound" /></member> <member><xref linkend="function.swfmovie.streammp3" /></member> <member><xref linkend="function.swfmovie.writeexports" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfmovie.construct; &reference.ming.swfmovie.add; &reference.ming.swfmovie.addexport; &reference.ming.swfmovie.addfont; &reference.ming.swfmovie.importchar; &reference.ming.swfmovie.importfont; &reference.ming.swfmovie.labelframe; &reference.ming.swfmovie.nextframe; &reference.ming.swfmovie.output; &reference.ming.swfmovie.remove; &reference.ming.swfmovie.save; &reference.ming.swfmovie.savetofile; &reference.ming.swfmovie.setbackground; &reference.ming.swfmovie.setdimension; &reference.ming.swfmovie.setframes; &reference.ming.swfmovie.setrate; &reference.ming.swfmovie.startsound; &reference.ming.swfmovie.stopsound; &reference.ming.swfmovie.streammp3; &reference.ming.swfmovie.writeexports; <!-- 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/en/reference/ming/swfprebuiltclip.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfprebuiltclip.xml +++ phpdoc/en/reference/ming/swfprebuiltclip.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfprebuiltclip"> <refnamediv> <refname>SWFPrebuiltClip</refname> <refpurpose>SWFPrebuiltClip Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfprebuiltclip.members"> <title>Class Members</title> <refsect2 id="ming.swfprebuiltclip.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfprebuiltclip.construct" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfprebuiltclip.construct; <!-- 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/en/reference/ming/swfshape.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape.xml +++ phpdoc/en/reference/ming/swfshape.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfshape"> <refnamediv> <refname>SWFShape</refname> <refpurpose>SWFShape Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfshape.members"> <title>Class Members</title> <refsect2 id="ming.swfshape.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfshape.construct" /></member> <member><xref linkend="function.swfshape.addfill" /></member> <member><xref linkend="function.swfshape.drawarc" /></member> <member><xref linkend="function.swfshape.drawcircle" /></member> <member><xref linkend="function.swfshape.drawcubic" /></member> <member><xref linkend="function.swfshape.drawcubicto" /></member> <member><xref linkend="function.swfshape.drawcurve" /></member> <member><xref linkend="function.swfshape.drawcurveto" /></member> <member><xref linkend="function.swfshape.drawglyph" /></member> <member><xref linkend="function.swfshape.drawline" /></member> <member><xref linkend="function.swfshape.drawlineto" /></member> <member><xref linkend="function.swfshape.movepen" /></member> <member><xref linkend="function.swfshape.movepento" /></member> <member><xref linkend="function.swfshape.setleftfill" /></member> <member><xref linkend="function.swfshape.setline" /></member> <member><xref linkend="function.swfshape.setrightfill" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfshape.construct; &reference.ming.swfshape.addfill; &reference.ming.swfshape.drawarc; &reference.ming.swfshape.drawcircle; &reference.ming.swfshape.drawcubic; &reference.ming.swfshape.drawcubicto; &reference.ming.swfshape.drawcurve; &reference.ming.swfshape.drawcurveto; &reference.ming.swfshape.drawglyph; &reference.ming.swfshape.drawline; &reference.ming.swfshape.drawlineto; &reference.ming.swfshape.movepen; &reference.ming.swfshape.movepento; &reference.ming.swfshape.setleftfill; &reference.ming.swfshape.setline; &reference.ming.swfshape.setrightfill; <!-- 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/en/reference/ming/swfsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsound.xml +++ phpdoc/en/reference/ming/swfsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfsound"> <refnamediv> <refname>SWFSound</refname> <refpurpose>SWFSound Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfsound.members"> <title>Class Members</title> <refsect2 id="ming.swfsound.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfsound.construct" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfsound.construct; <!-- 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/en/reference/ming/swfsprite.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite.xml +++ phpdoc/en/reference/ming/swfsprite.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfsprite"> <refnamediv> <refname>SWFSprite</refname> <refpurpose>SWFSprite Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> An <classname>SWFSprite</classname> is also known as a "movie clip", this allows one to create objects which are animated in their own timelines. Hence, the sprite has most of the same methods as the movie. </para> </refsect1> <refsect1 role="members" id="ming.swfsprite.members"> <title>Class Members</title> <refsect2 id="ming.swfsprite.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfsprite.construct" /></member> <member><xref linkend="function.swfsprite.add" /></member> <member><xref linkend="function.swfsprite.labelframe" /></member> <member><xref linkend="function.swfsprite.nextframe" /></member> <member><xref linkend="function.swfsprite.remove" /></member> <member><xref linkend="function.swfsprite.setframes" /></member> <member><xref linkend="function.swfsprite.startsound" /></member> <member><xref linkend="function.swfsprite.stopsound" /></member> </simplelist> </refsect2> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will spin gracefully a big red square. <example> <title><function>swfsprite</function> example</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $s->setRightFill($s->addFill(0xff, 0, 0)); $s->movePenTo(-500, -500); $s->drawLineTo(500, -500); $s->drawLineTo(500, 500); $s->drawLineTo(-500, 500); $s->drawLineTo(-500, -500); $p = new SWFSprite(); $i = $p->add($s); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $m = new SWFMovie(); $i = $m->add($p); $i->moveTo(1500, 1000); $i->setName("blah"); $m->setBackground(0xff, 0xff, 0xff); $m->setDimension(3000, 2000); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> &reference.ming.swfsprite.construct; &reference.ming.swfsprite.add; &reference.ming.swfsprite.labelframe; &reference.ming.swfsprite.nextframe; &reference.ming.swfsprite.remove; &reference.ming.swfsprite.setframes; &reference.ming.swfsprite.startsound; &reference.ming.swfsprite.stopsound; <!-- 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/en/reference/ming/swftext.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext.xml +++ phpdoc/en/reference/ming/swftext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swftext"> <refnamediv> <refname>SWFText</refname> <refpurpose>SWFText Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swftext.members"> <title>Class Members</title> <refsect2 id="ming.swftext.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swftext.construct" /></member> <member><xref linkend="function.swftext.addstring" /></member> <member><xref linkend="function.swftext.addutf8string" /></member> <member><xref linkend="function.swftext.getascent" /></member> <member><xref linkend="function.swftext.getdescent" /></member> <member><xref linkend="function.swftext.getleading" /></member> <member><xref linkend="function.swftext.getutf8width" /></member> <member><xref linkend="function.swftext.getwidth" /></member> <member><xref linkend="function.swftext.moveto" /></member> <member><xref linkend="function.swftext.setcolor" /></member> <member><xref linkend="function.swftext.setfont" /></member> <member><xref linkend="function.swftext.setheight" /></member> <member><xref linkend="function.swftext.setspacing" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swftext.construct; &reference.ming.swftext.addstring; &reference.ming.swftext.addutf8string; &reference.ming.swftext.getascent; &reference.ming.swftext.getdescent; &reference.ming.swftext.getleading; &reference.ming.swftext.getutf8width; &reference.ming.swftext.getwidth; &reference.ming.swftext.moveto; &reference.ming.swftext.setcolor; &reference.ming.swftext.setfont; &reference.ming.swftext.setheight; &reference.ming.swftext.setspacing; <!-- 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/en/reference/ming/swftextfield.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield.xml +++ phpdoc/en/reference/ming/swftextfield.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swftextfield"> <refnamediv> <refname>SWFTextField</refname> <refpurpose>SWFTextField Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swftextfield.members"> <title>Class Members</title> <refsect2 id="ming.swftextfield.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swftextfield.construct" /></member> <member><xref linkend="function.swftextfield.addchars" /></member> <member><xref linkend="function.swftextfield.addstring" /></member> <member><xref linkend="function.swftextfield.align" /></member> <member><xref linkend="function.swftextfield.setbounds" /></member> <member><xref linkend="function.swftextfield.setcolor" /></member> <member><xref linkend="function.swftextfield.setfont" /></member> <member><xref linkend="function.swftextfield.setheight" /></member> <member><xref linkend="function.swftextfield.setindentation" /></member> <member><xref linkend="function.swftextfield.setleftmargin" /></member> <member><xref linkend="function.swftextfield.setlinespacing" /></member> <member><xref linkend="function.swftextfield.setmargins" /></member> <member><xref linkend="function.swftextfield.setname" /></member> <member><xref linkend="function.swftextfield.setpadding" /></member> <member><xref linkend="function.swftextfield.setrightmargin" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swftextfield.construct; &reference.ming.swftextfield.addchars; &reference.ming.swftextfield.addstring; &reference.ming.swftextfield.align; &reference.ming.swftextfield.setbounds; &reference.ming.swftextfield.setcolor; &reference.ming.swftextfield.setfont; &reference.ming.swftextfield.setheight; &reference.ming.swftextfield.setindentation; &reference.ming.swftextfield.setleftmargin; &reference.ming.swftextfield.setlinespacing; &reference.ming.swftextfield.setmargins; &reference.ming.swftextfield.setname; &reference.ming.swftextfield.setpadding; &reference.ming.swftextfield.setrightmargin; <!-- 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/en/reference/ming/swfvideostream.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfvideostream.xml +++ phpdoc/en/reference/ming/swfvideostream.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfvideostream"> <refnamediv> <refname>SWFVideoStream</refname> <refpurpose>SWFVideoStream Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfvideostream.members"> <title>Class Members</title> <refsect2 id="ming.swfvideostream.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfvideostream.construct" /></member> <member><xref linkend="function.swfvideostream.getnumframes" /></member> <member><xref linkend="function.swfvideostream.setdimension" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfvideostream.construct; &reference.ming.swfvideostream.getnumframes; &reference.ming.swfvideostream.setdimension; <!-- 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/en/reference/ming/functions/ming-useconstants.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/functions/ming-useconstants.xml +++ phpdoc/en/reference/ming/functions/ming-useconstants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.ming-useconstants"> <refnamediv> <refname>ming_useconstants</refname> <refpurpose>Use constant pool</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>ming_useconstants</methodname> <methodparam><type>int</type><parameter>use</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>use</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfaction/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfaction/construct.xml +++ phpdoc/en/reference/ming/swfaction/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfaction.construct"> <refnamediv> <refname>SWFAction->__construct()</refname> <refpurpose>Creates a new 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> Creates a new SWFAction and compiles the given <parameter>script</parameter> in it. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>script</parameter></term> <listitem> <para> An ActionScript snippet to associate with the SWFAction. See <xref linkend="ming.swfaction" /> for more details. </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/en/reference/ming/swfbitmap/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbitmap/construct.xml +++ phpdoc/en/reference/ming/swfbitmap/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbitmap.construct"> <refnamediv> <refname>SWFBitmap->__construct()</refname> <refpurpose>Loads Bitmap object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFBitmap</classname></ooclass> <methodsynopsis> <type>SWFBitmap</type><methodname>__construct</methodname> <methodparam><type>mixed</type><parameter>file</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter>alphafile</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates the new <classname>SWFBitmap</classname> object from the given <parameter>file</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> For both parameters you can provide a file pointer returned by <function>fopen</function> or the image data, as a binary string. <variablelist> <varlistentry> <term><parameter>file</parameter></term> <listitem> <para> </para> <note> <para> We can only deal with baseline (frame 0) jpegs, no baseline optimized or progressive scan jpegs! </para> </note> <para> You can't import png images directly, though- have to use the png2dbl utility to make a dbl ("define bits lossless") file from the png. The reason for this is that I don't want a dependency on the png library in ming- autoconf should solve this, but that's not set up yet. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>alphafile</parameter></term> <listitem> <para> An MSK file to be used as an alpha mask for a JPEG image. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Importing a DBL file</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $f = $s->addFill(new SWFBitmap(file_get_contents("image.dbl"))); $s->setRightFill($f); $s->drawLine(32, 0); $s->drawLine(0, 32); $s->drawLine(-32, 0); $s->drawLine(0, -32); $m = new SWFMovie(); $m->setDimension(32, 32); $m->add($s); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <para> <example> <title>Using an alpha mask</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); // .msk file generated with "gif2mask" utility $f = $s->addFill(new SWFBitmap(file_get_contents("alphafill.jpg"), file_get_contents("alphafill.msk"))); $s->setRightFill($f); $s->drawLine(640, 0); $s->drawLine(0, 480); $s->drawLine(-640, 0); $s->drawLine(0, -480); $c = new SWFShape(); $c->setRightFill($c->addFill(0x99, 0x99, 0x99)); $c->drawLine(40, 0); $c->drawLine(0, 40); $c->drawLine(-40, 0); $c->drawLine(0, -40); $m = new SWFMovie(); $m->setDimension(640, 480); $m->setBackground(0xcc, 0xcc, 0xcc); // draw checkerboard background for ($y=0; $y<480; $y+=40) { for ($x=0; $x<640; $x+=80) { $i = $m->add($c); $i->moveTo($x, $y); } $y+=40; for ($x=40; $x<640; $x+=80) { $i = $m->add($c); $i->moveTo($x, $y); } } $m->add($s); 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/en/reference/ming/swfbitmap/getheight.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbitmap/getheight.xml +++ phpdoc/en/reference/ming/swfbitmap/getheight.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbitmap.getheight"> <refnamediv> <refname>SWFBitmap->getHeight()</refname> <refpurpose>Returns the bitmap's height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFBitmap</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getHeight</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Returns the bitmap's height. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the bitmap height in pixels. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbitmap.getwidth" /></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/en/reference/ming/swfbitmap/getwidth.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbitmap/getwidth.xml +++ phpdoc/en/reference/ming/swfbitmap/getwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbitmap.getwidth"> <refnamediv> <refname>SWFBitmap->getWidth()</refname> <refpurpose>Returns the bitmap's width</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFBitmap</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getWidth</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Returns the bitmap's width. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the bitmap width in pixels. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbitmap.getheight" /></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/en/reference/ming/swfbutton/addaction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/addaction.xml +++ phpdoc/en/reference/ming/swfbutton/addaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.addaction"> <refnamediv> <refname>SWFButton->addAction()</refname> <refpurpose>Adds an 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> Adds the given <parameter>action</parameter> to the button for the given conditions. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> An <classname>SWFAction</classname>, returned by <xref linkend="function.swfaction.construct" />. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> The following <parameter>flags</parameter> are valid: <constant>SWFBUTTON_MOUSEOVER</constant>, <constant>SWFBUTTON_MOUSEOUT</constant>, <constant>SWFBUTTON_MOUSEUP</constant>, <constant>SWFBUTTON_MOUSEUPOUTSIDE</constant>, <constant>SWFBUTTON_MOUSEDOWN</constant>, <constant>SWFBUTTON_DRAGOUT</constant> and <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/en/reference/ming/swfbutton/addasound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/addasound.xml +++ phpdoc/en/reference/ming/swfbutton/addasound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.addasound"> <refnamediv> <refname>SWFButton->addASound()</refname> <refpurpose>Associates a sound with a button transition</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> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>sound</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swfbutton/addshape.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/addshape.xml +++ phpdoc/en/reference/ming/swfbutton/addshape.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.addshape"> <refnamediv> <refname>SWFButton->addShape()</refname> <refpurpose>Adds a shape to a button</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> Adds the given <parameter>shape</parameter> to the button. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>shape</parameter></term> <listitem> <para> An <classname>SWFShape</classname> instance </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> The following <parameter>flags</parameter> are valid: <constant>SWFBUTTON_UP</constant>, <constant>SWFBUTTON_OVER</constant>, <constant>SWFBUTTON_DOWN</constant> and <constant>SWFBUTTON_HIT</constant>. </para> <para> <constant>SWFBUTTON_HIT</constant> isn't ever displayed, it defines the hit region for the button. That is, everywhere the hit shape would be drawn is considered a "touchable" part of the button. </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/en/reference/ming/swfbutton/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/construct.xml +++ phpdoc/en/reference/ming/swfbutton/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.construct"> <refnamediv> <refname>SWFButton->__construct()</refname> <refpurpose>Creates a new Button</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> Creates a new Button. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will show your usual interactions with buttons : rollover, rollon, mouseup, mousedown, noaction. <example> <title>Usual interactions with buttons</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> This simple example will enables you to drag draw a big red button on the windows. No drag-and-drop, just moving around. <example> <title>Drag example</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' means don't lock to mouse 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/en/reference/ming/swfbutton/setaction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setaction.xml +++ phpdoc/en/reference/ming/swfbutton/setaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setaction"> <refnamediv> <refname>SWFButton->setAction()</refname> <refpurpose>Sets the 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> Sets the action to be performed when the button is clicked. </para> <para> This is a shortcut for <xref linkend="function.swfbutton.addaction" /> called with the <constant>SWFBUTTON_MOUSEUP</constant> flag. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> An <classname>SWFAction</classname>, returned by <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/en/reference/ming/swfbutton/setdown.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setdown.xml +++ phpdoc/en/reference/ming/swfbutton/setdown.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setdown"> <refnamediv> <refname>SWFButton->setDown()</refname> <refpurpose>Alias for 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> alias for 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/en/reference/ming/swfbutton/sethit.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/sethit.xml +++ phpdoc/en/reference/ming/swfbutton/sethit.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.sethit"> <refnamediv> <refname>SWFButton->setHit()</refname> <refpurpose>Alias for 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> alias for 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/en/reference/ming/swfbutton/setmenu.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setmenu.xml +++ phpdoc/en/reference/ming/swfbutton/setmenu.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setmenu"> <refnamediv> <refname>SWFButton->setMenu()</refname> <refpurpose>enable track as menu button behaviour</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> This parameter can be used for a slight different behavior of buttons. You can set it to 0 (off) or 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/en/reference/ming/swfbutton/setover.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setover.xml +++ phpdoc/en/reference/ming/swfbutton/setover.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setover"> <refnamediv> <refname>SWFButton->setOver()</refname> <refpurpose>Alias for 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> alias for 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/en/reference/ming/swfbutton/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setup.xml +++ phpdoc/en/reference/ming/swfbutton/setup.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setup"> <refnamediv> <refname>SWFButton->setUp()</refname> <refpurpose>Alias for 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> alias for 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/en/reference/ming/swfdisplayitem/addaction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/addaction.xml +++ phpdoc/en/reference/ming/swfdisplayitem/addaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.addaction"> <refnamediv> <refname>SWFDisplayItem->addAction()</refname> <refpurpose>Adds this SWFAction to the given SWFSprite instance</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</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.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> An <classname>SWFAction</classname>, returned by <xref linkend="function.swfaction.construct" />. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> </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="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/en/reference/ming/swfdisplayitem/addcolor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/addcolor.xml +++ phpdoc/en/reference/ming/swfdisplayitem/addcolor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.addcolor"> <refnamediv> <refname>SWFDisplayItem->addColor()</refname> <refpurpose>Adds the given color to this item's color transform</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addColor</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->addcolor</function> adds the color to this item's color transform. The color is given in its RGB form. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </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/en/reference/ming/swfdisplayitem/endmask.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/endmask.xml +++ phpdoc/en/reference/ming/swfdisplayitem/endmask.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.endmask"> <refnamediv> <refname>SWFDisplayItem->endMask()</refname> <refpurpose>Another way of defining a MASK layer</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>endMask</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </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/en/reference/ming/swfdisplayitem/getrot.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getrot.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getrot.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getrot"> <refnamediv> <refname>SWFDisplayItem->getRot()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getRot</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swfdisplayitem/getx.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getx.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getx.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getx"> <refnamediv> <refname>SWFDisplayItem->getX()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getX</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.gety" /></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/en/reference/ming/swfdisplayitem/getxscale.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getxscale.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getxscale.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getxscale"> <refnamediv> <refname>SWFDisplayItem->getXScale()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getXScale</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getyscale" /></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/en/reference/ming/swfdisplayitem/getxskew.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getxskew.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getxskew.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getxskew"> <refnamediv> <refname>SWFDisplayItem->getXSkew()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getXSkew</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getyskew" /></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/en/reference/ming/swfdisplayitem/gety.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/gety.xml +++ phpdoc/en/reference/ming/swfdisplayitem/gety.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.gety"> <refnamediv> <refname>SWFDisplayItem->getY()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getY</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getx" /></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/en/reference/ming/swfdisplayitem/getyscale.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getyscale.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getyscale.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getyscale"> <refnamediv> <refname>SWFDisplayItem->getYScale()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getYScale</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getxscale" /></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/en/reference/ming/swfdisplayitem/getyskew.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getyskew.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getyskew.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getyskew"> <refnamediv> <refname>SWFDisplayItem->getYSkew()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getYSkew</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getxskew" /></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/en/reference/ming/swfdisplayitem/move.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/move.xml +++ phpdoc/en/reference/ming/swfdisplayitem/move.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.move"> <refnamediv> <refname>SWFDisplayItem->move()</refname> <refpurpose>Moves object in relative coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>move</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->move</function> moves the current object by (<parameter>dx</parameter>,<parameter>dy</parameter>) from its current position. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.moveto" /></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/en/reference/ming/swfdisplayitem/moveto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/moveto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/moveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.moveto"> <refnamediv> <refname>SWFDisplayItem->moveTo()</refname> <refpurpose>Moves object in global coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>moveTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->moveto</function> moves the current object to (<parameter>x</parameter>,<parameter>y</parameter>) in global coordinates. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.move" /></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/en/reference/ming/swfdisplayitem/multcolor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/multcolor.xml +++ phpdoc/en/reference/ming/swfdisplayitem/multcolor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.multcolor"> <refnamediv> <refname>SWFDisplayItem->multColor()</refname> <refpurpose>Multiplies the item's color transform</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>multColor</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->multcolor</function> multiplies the item's color transform by the given values. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> These parameters are integers between 0 and 255 or hexadecimals between <literal>0x00</literal> and <literal>0xFF</literal>: <variablelist> <varlistentry> <term><parameter>red</parameter></term> <listitem> <para> Value of red component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>green</parameter></term> <listitem> <para> Value of green component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>blue</parameter></term> <listitem> <para> Value of blue component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>a</parameter></term> <listitem> <para> Value of alpha component </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will modify your picture's atmosphere to Halloween (use a landscape or bright picture). <example> <title><function>swfdisplayitem->multcolor</function> example</title> <programlisting role="php"> <![CDATA[ <?php $b = new SWFBitmap(file_get_contents("backyard.jpg")); // note use your own picture :-) $s = new SWFShape(); $s->setRightFill($s->addFill($b)); $s->drawLine($b->getWidth(), 0); $s->drawLine(0, $b->getHeight()); $s->drawLine(-$b->getWidth(), 0); $s->drawLine(0, -$b->getHeight()); $m = new SWFMovie(); $m->setDimension($b->getWidth(), $b->getHeight()); $i = $m->add($s); for ($n=0; $n<=20; ++$n) { $i->multColor(1.0-$n/10, 1.0, 1.0); $i->addColor(0xff*$n/20, 0, 0); $m->nextFrame(); } 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/en/reference/ming/swfdisplayitem/remove.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/remove.xml +++ phpdoc/en/reference/ming/swfdisplayitem/remove.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.remove"> <refnamediv> <refname>SWFDisplayItem->remove()</refname> <refpurpose>Removes the object from the movie</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>remove</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->remove</function> removes this object from the movie's display list. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.add" /></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/en/reference/ming/swfdisplayitem/rotate.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/rotate.xml +++ phpdoc/en/reference/ming/swfdisplayitem/rotate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.rotate"> <refnamediv> <refname>SWFDisplayItem->rotate()</refname> <refpurpose>Rotates in relative coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>rotate</methodname> <methodparam><type>float</type><parameter>angle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->rotate</function> rotates the current object by <parameter>angle</parameter> degrees from its current rotation. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.rotateto" /></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/en/reference/ming/swfdisplayitem/rotateto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/rotateto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/rotateto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.rotateto"> <refnamediv> <refname>SWFDisplayItem->rotateTo()</refname> <refpurpose>Rotates the object in global coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>rotateTo</methodname> <methodparam><type>float</type><parameter>angle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->rotateto</function> set the current object rotation to <parameter>angle</parameter> degrees in global coordinates. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This example bring three rotating string from the background to the foreground. Pretty nice. <example> <title><function>swfdisplayitem->rotateto</function> example</title> <programlisting role="php"> <![CDATA[ <?php $thetext = "ming!"; $f = new SWFFont("Bauhaus 93.fdb"); $m = new SWFMovie(); $m->setRate(24.0); $m->setDimension(2400, 1600); $m->setBackground(0xff, 0xff, 0xff); // functions with huge numbers of arbitrary // arguments are always a good idea! Really! function text($r, $g, $b, $a, $rot, $x, $y, $scale, $string) { global $f, $m; $t = new SWFText(); $t->setFont($f); $t->setColor($r, $g, $b, $a); $t->setHeight(960); $t->moveTo(-($f->getWidth($string))/2, $f->getAscent()/2); $t->addString($string); // we can add properties just like a normal PHP var, // as long as the names aren't already used. // e.g., we can't set $i->scale, because that's a function $i = $m->add($t); $i->x = $x; $i->y = $y; $i->rot = $rot; $i->s = $scale; $i->rotateTo($rot); $i->scale($scale, $scale); // but the changes are local to the function, so we have to // return the changed object. kinda weird.. return $i; } function step($i) { $oldrot = $i->rot; $i->rot = 19*$i->rot/20; $i->x = (19*$i->x + 1200)/20; $i->y = (19*$i->y + 800)/20; $i->s = (19*$i->s + 1.0)/20; $i->rotateTo($i->rot); $i->scaleTo($i->s, $i->s); $i->moveTo($i->x, $i->y); return $i; } // see? it sure paid off in legibility: $i1 = text(0xff, 0x33, 0x33, 0xff, 900, 1200, 800, 0.03, $thetext); $i2 = text(0x00, 0x33, 0xff, 0x7f, -560, 1200, 800, 0.04, $thetext); $i3 = text(0xff, 0xff, 0xff, 0x9f, 180, 1200, 800, 0.001, $thetext); for ($i=1; $i<=100; ++$i) { $i1 = step($i1); $i2 = step($i2); $i3 = step($i3); $m->nextFrame(); } header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.rotate" /></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/en/reference/ming/swfdisplayitem/scale.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/scale.xml +++ phpdoc/en/reference/ming/swfdisplayitem/scale.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.scale"> <refnamediv> <refname>SWFDisplayItem->scale()</refname> <refpurpose>Scales the object in relative coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>scale</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->scale</function> scales the current object by (<parameter>dx</parameter>,<parameter>dy</parameter>) from its current size. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.scaleto" /></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/en/reference/ming/swfdisplayitem/scaleto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/scaleto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/scaleto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.scaleto"> <refnamediv> <refname>SWFDisplayItem->scaleTo()</refname> <refpurpose>Scales the object in global coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>scaleTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->scaleto</function> scales the current object to (<parameter>x</parameter>,<parameter>y</parameter>) in global coordinates. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.scale" /></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/en/reference/ming/swfdisplayitem/setdepth.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setdepth.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setdepth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setdepth"> <refnamediv> <refname>SWFDisplayItem->setDepth()</refname> <refpurpose>Sets z-order</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setDepth</methodname> <methodparam><type>float</type><parameter>depth</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->setdepth</function> sets the object's z-order to <parameter>depth</parameter>. Depth defaults to the order in which instances are created (by adding a shape/text to a movie)- newer ones are on top of older ones. If two objects are given the same depth, only the later-defined one can be moved. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </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/en/reference/ming/swfdisplayitem/setmasklevel.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setmasklevel.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setmasklevel.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setmasklevel"> <refnamediv> <refname>SWFDisplayItem->setMaskLevel()</refname> <refpurpose>Defines a MASK layer at level</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setMaskLevel</methodname> <methodparam><type>int</type><parameter>level</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>level</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfdisplayitem/setmatrix.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setmatrix.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setmatrix.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setmatrix"> <refnamediv> <refname>SWFDisplayItem->setMatrix()</refname> <refpurpose>Sets the item's transform matrix</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setMatrix</methodname> <methodparam><type>float</type><parameter>a</parameter></methodparam> <methodparam><type>float</type><parameter>b</parameter></methodparam> <methodparam><type>float</type><parameter>c</parameter></methodparam> <methodparam><type>float</type><parameter>d</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>a</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>b</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>c</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>d</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfdisplayitem/setname.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setname.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setname.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setname"> <refnamediv> <refname>SWFDisplayItem->setName()</refname> <refpurpose>Sets the object's name</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setName</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->setname</function> sets the object's name to <parameter>name</parameter>, for targetting with action script. Only useful on sprites. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </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/en/reference/ming/swfdisplayitem/setratio.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setratio.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setratio.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setratio"> <refnamediv> <refname>SWFDisplayItem->setRatio()</refname> <refpurpose>Sets the object's ratio</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRatio</methodname> <methodparam><type>float</type><parameter>ratio</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->setratio</function> sets the object's ratio to <parameter>ratio</parameter>. Obviously only useful for morphs. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will morph nicely three concentric circles. <example> <title><function>swfdisplayitem->setname</function> example</title> <programlisting role="php"> <![CDATA[ <?php $p = new SWFMorph(); $g = new SWFGradient(); $g->addEntry(0.0, 0, 0, 0); $g->addEntry(0.16, 0xff, 0xff, 0xff); $g->addEntry(0.32, 0, 0, 0); $g->addEntry(0.48, 0xff, 0xff, 0xff); $g->addEntry(0.64, 0, 0, 0); $g->addEntry(0.80, 0xff, 0xff, 0xff); $g->addEntry(1.00, 0, 0, 0); $s = $p->getShape1(); $f = $s->addFill($g, SWFFILL_RADIAL_GRADIENT); $f->scaleTo(0.05); $s->setLeftFill($f); $s->movePenTo(-160, -120); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $g = new SWFGradient(); $g->addEntry(0.0, 0, 0, 0); $g->addEntry(0.16, 0xff, 0, 0); $g->addEntry(0.32, 0, 0, 0); $g->addEntry(0.48, 0, 0xff, 0); $g->addEntry(0.64, 0, 0, 0); $g->addEntry(0.80, 0, 0, 0xff); $g->addEntry(1.00, 0, 0, 0); $s = $p->getShape2(); $f = $s->addFill($g, SWFFILL_RADIAL_GRADIENT); $f->scaleTo(0.05); $f->skewXTo(1.0); $s->setLeftFill($f); $s->movePenTo(-160, -120); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $m = new SWFMovie(); $m->setDimension(320, 240); $i = $m->add($p); $i->moveTo(160, 120); for ($n=0; $n<=1.001; $n+=0.01) { $i->setRatio($n); $m->nextFrame(); } 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/en/reference/ming/swfdisplayitem/skewx.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/skewx.xml +++ phpdoc/en/reference/ming/swfdisplayitem/skewx.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.skewx"> <refnamediv> <refname>SWFDisplayItem->skewX()</refname> <refpurpose>Sets the X-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewX</methodname> <methodparam><type>float</type><parameter>ddegrees</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->skewx</function> adds <parameter>ddegrees</parameter> to current x-skew. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.skewxto" /></member> <member><xref linkend="function.swfdisplayitem.skewy" /></member> <member><xref linkend="function.swfdisplayitem.skewyto" /></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/en/reference/ming/swfdisplayitem/skewxto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/skewxto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/skewxto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.skewxto"> <refnamediv> <refname>SWFDisplayItem->skewXTo()</refname> <refpurpose>Sets the X-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewXTo</methodname> <methodparam><type>float</type><parameter>degrees</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->skewxto</function> sets the x-skew to <parameter>degrees</parameter>. For <parameter>degrees</parameter> is 1.0, it means a 45-degree forward slant. More is more forward, less is more backward. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.skewx" /></member> <member><xref linkend="function.swfdisplayitem.skewy" /></member> <member><xref linkend="function.swfdisplayitem.skewyto" /></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/en/reference/ming/swfdisplayitem/skewy.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/skewy.xml +++ phpdoc/en/reference/ming/swfdisplayitem/skewy.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.skewy"> <refnamediv> <refname>SWFDisplayItem->skewY()</refname> <refpurpose>Sets the Y-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewY</methodname> <methodparam><type>float</type><parameter>ddegrees</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->skewy</function> adds <parameter>ddegrees</parameter> to current y-skew. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.skewyto" /></member> <member><xref linkend="function.swfdisplayitem.skewx" /></member> <member><xref linkend="function.swfdisplayitem.skewxto" /></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/en/reference/ming/swfdisplayitem/skewyto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/skewyto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/skewyto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.skewyto"> <refnamediv> <refname>SWFDisplayItem->skewYTo()</refname> <refpurpose>Sets the Y-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewYTo</methodname> <methodparam><type>float</type><parameter>degrees</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->skewyto</function> sets the y-skew to <parameter>degrees</parameter>. For <parameter>degrees</parameter> is 1.0, it means a 45-degree forward slant. More is more upward, less is more downward. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.skewy" /></member> <member><xref linkend="function.swfdisplayitem.skewx" /></member> <member><xref linkend="function.swfdisplayitem.skewxto" /></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/en/reference/ming/swffill/moveto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/moveto.xml +++ phpdoc/en/reference/ming/swffill/moveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.moveto"> <refnamediv> <refname>SWFFill->moveTo()</refname> <refpurpose>Moves fill origin</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>moveTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Moves the fill origin to the given global coordinates. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> X-coordinate </para> </listitem> </varlistentry> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> Y-coordinate </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/en/reference/ming/swffill/rotateto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/rotateto.xml +++ phpdoc/en/reference/ming/swffill/rotateto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.rotateto"> <refnamediv> <refname>SWFFill->rotateTo()</refname> <refpurpose>Sets fill's rotation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>rotateTo</methodname> <methodparam><type>float</type><parameter>angle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the fill rotation to the given <parameter>angle</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>angle</parameter></term> <listitem> <para> The rotation angle, in degreess. </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/en/reference/ming/swffill/scaleto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/scaleto.xml +++ phpdoc/en/reference/ming/swffill/scaleto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.scaleto"> <refnamediv> <refname>SWFFill->scaleTo()</refname> <refpurpose>Sets fill's scale</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>scaleTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the fill scale to the given coordinates. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> X-coordinate </para> </listitem> </varlistentry> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> Y-coordinate </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/en/reference/ming/swffill/skewxto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/skewxto.xml +++ phpdoc/en/reference/ming/swffill/skewxto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.skewxto"> <refnamediv> <refname>SWFFill->skewXTo()</refname> <refpurpose>Sets fill x-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewXTo</methodname> <methodparam><type>float</type><parameter>x</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the fill x-skew to <parameter>x</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> When <parameter>x</parameter> is 1.0, it is a 45-degree forward slant. More is more forward, less is more backward. </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.swffill.skewyto" /></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/en/reference/ming/swffill/skewyto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/skewyto.xml +++ phpdoc/en/reference/ming/swffill/skewyto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.skewyto"> <refnamediv> <refname>SWFFill->skewYTo()</refname> <refpurpose>Sets fill y-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewYTo</methodname> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the fill y-skew to <parameter>y</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> When <parameter>y</parameter> is 1.0, it is a 45-degree upward slant. More is more upward, less is more downward. </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.swffill.skewxto" /></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/en/reference/ming/swffont/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/construct.xml +++ phpdoc/en/reference/ming/swffont/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.construct"> <refnamediv> <refname>SWFFont->__construct()</refname> <refpurpose>Loads a font definition</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>SWFFont</type><methodname>__construct</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> If <parameter>filename</parameter> is the name of an FDB file (i.e., it ends in ".fdb"), load the font definition found in said file. Otherwise, create a browser-defined font reference. </para> <para> FDB ("font definition block") is a very simple wrapper for the SWF DefineFont2 block which contains a full description of a font. One may create FDB files from SWT Generator template files with the included makefdb utility- look in the util directory off the main ming distribution directory. </para> <para> Browser-defined fonts don't contain any information about the font other than its name. It is assumed that the font definition will be provided by the movie player. The fonts _serif, _sans, and _typewriter should always be available. For example: <programlisting role="php"> <![CDATA[ <?php $f = newSWFFont("_sans"); ?> ]]> </programlisting> will give you the standard sans-serif font, probably the same as what you'd get with <literal><font name="sans-serif"></literal> in HTML. </para> <para> </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/en/reference/ming/swffont/getascent.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getascent.xml +++ phpdoc/en/reference/ming/swffont/getascent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getascent"> <refnamediv> <refname>SWFFont->getAscent()</refname> <refpurpose>Returns the ascent of the font, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getAscent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getdescent" /></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/en/reference/ming/swffont/getdescent.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getdescent.xml +++ phpdoc/en/reference/ming/swffont/getdescent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getdescent"> <refnamediv> <refname>SWFFont->getDescent()</refname> <refpurpose>Returns the descent of the font, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getDescent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getascent" /></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/en/reference/ming/swffont/getleading.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getleading.xml +++ phpdoc/en/reference/ming/swffont/getleading.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getleading"> <refnamediv> <refname>SWFFont->getLeading()</refname> <refpurpose>Returns the leading of the font, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getLeading</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swffont/getshape.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getshape.xml +++ phpdoc/en/reference/ming/swffont/getshape.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getshape"> <refnamediv> <refname>SWFFont->getShape()</refname> <refpurpose>Returns the glyph shape of a char as a text string</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>string</type><methodname>getShape</methodname> <methodparam><type>int</type><parameter>code</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swffont/getutf8width.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getutf8width.xml +++ phpdoc/en/reference/ming/swffont/getutf8width.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getutf8width"> <refnamediv> <refname>SWFFont->getUTF8Width()</refname> <refpurpose>Calculates the width of the given string in this font at full height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getUTF8Width</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>string</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getwidth" /></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/en/reference/ming/swffont/getwidth.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getwidth.xml +++ phpdoc/en/reference/ming/swffont/getwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getwidth"> <refnamediv> <refname>SWFFont->getWidth()</refname> <refpurpose>Returns the string's width</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getWidth</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swffont->getwidth</function> returns the string <parameter>string</parameter>'s width, using font's default scaling. You'll probably want to use the <function>swftext</function> version of this method which uses the text object's scale. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getutf8width" /></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/en/reference/ming/swffontchar/addchars.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffontchar/addchars.xml +++ phpdoc/en/reference/ming/swffontchar/addchars.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffontchar.addchars"> <refnamediv> <refname>SWFFontChar->addChars()</refname> <refpurpose>Adds characters to a font for exporting font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFontChar</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addChars</methodname> <methodparam><type>string</type><parameter>char</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>char</parameter></term> <listitem> <para> Its description </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.swffontchar.addutf8chars" /></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/en/reference/ming/swffontchar/addutf8chars.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffontchar/addutf8chars.xml +++ phpdoc/en/reference/ming/swffontchar/addutf8chars.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffontchar.addutf8chars"> <refnamediv> <refname>SWFFontChar->addUTF8Chars()</refname> <refpurpose>Adds characters to a font for exporting font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFontChar</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addUTF8Chars</methodname> <methodparam><type>string</type><parameter>char</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>char</parameter></term> <listitem> <para> Its description </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.swffontchar.addchars" /></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/en/reference/ming/swfgradient/addentry.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfgradient/addentry.xml +++ phpdoc/en/reference/ming/swfgradient/addentry.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfgradient.addentry"> <refnamediv> <refname>SWFGradient->addEntry()</refname> <refpurpose>Adds an entry to the gradient list</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFGradient</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addEntry</methodname> <methodparam><type>float</type><parameter>ratio</parameter></methodparam> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfgradient->addentry</function> adds an entry to the gradient list. <parameter>ratio</parameter> is a number between 0 and 1 indicating where in the gradient this color appears. Thou shalt add entries in order of increasing ratio. </para> <para> <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter> is a color (RGB mode). Last parameter <parameter>a</parameter> is optional. </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/en/reference/ming/swfgradient/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfgradient/construct.xml +++ phpdoc/en/reference/ming/swfgradient/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfgradient.construct"> <refnamediv> <refname>SWFGradient->__construct()</refname> <refpurpose>Creates a gradient object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFGradient</classname></ooclass> <methodsynopsis> <type>SWFGradient</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfgradient</function> creates a new SWFGradient object. </para> <simpara> After you've added the entries to your gradient, you can use the gradient in a shape fill with the <function>swfshape->addfill</function> method. </simpara> <simpara> SWFGradient has the following methods : <function>swfgradient->addentry</function>. </simpara> <para> This simple example will draw a big black-to-white gradient as background, and a reddish disc in its center. <example> <title><function>swfgradient</function> example</title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setDimension(320, 240); $s = new SWFShape(); // first gradient- black to white $g = new SWFGradient(); $g->addEntry(0.0, 0, 0, 0); $g->addEntry(1.0, 0xff, 0xff, 0xff); $f = $s->addFill($g, SWFFILL_LINEAR_GRADIENT); $f->scaleTo(0.01); $f->moveTo(160, 120); $s->setRightFill($f); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $m->add($s); $s = new SWFShape(); // second gradient- radial gradient from red to transparent $g = new SWFGradient(); $g->addEntry(0.0, 0xff, 0, 0, 0xff); $g->addEntry(1.0, 0xff, 0, 0, 0); $f = $s->addFill($g, SWFFILL_RADIAL_GRADIENT); $f->scaleTo(0.005); $f->moveTo(160, 120); $s->setRightFill($f); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $m->add($s); 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/en/reference/ming/swfmorph/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmorph/construct.xml +++ phpdoc/en/reference/ming/swfmorph/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmorph.construct"> <refnamediv> <refname>SWFMorph->__construct()</refname> <refpurpose>Creates a new SWFMorph object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMorph</classname></ooclass> <methodsynopsis> <type>SWFMorph</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates a new <classname>SWFMorph</classname> object. </para> <para> Also called a "shape tween". This thing lets you make those tacky twisting things that make your computer choke. Oh, joy! </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will morph a big red square into a smaller blue black-bordered square. <example> <title><function>swfmorph</function> example</title> <programlisting role="php"> <![CDATA[ <?php $p = new SWFMorph(); $s = $p->getShape1(); $s->setLine(0, 0, 0, 0); /* Note that this is backwards from normal shapes (left instead of right). I have no idea why, but this seems to work.. */ $s->setLeftFill($s->addFill(0xff, 0, 0)); $s->movePenTo(-1000,-1000); $s->drawLine(2000,0); $s->drawLine(0,2000); $s->drawLine(-2000,0); $s->drawLine(0,-2000); $s = $p->getShape2(); $s->setLine(60,0,0,0); $s->setLeftFill($s->addFill(0, 0, 0xff)); $s->movePenTo(0,-1000); $s->drawLine(1000,1000); $s->drawLine(-1000,1000); $s->drawLine(-1000,-1000); $s->drawLine(1000,-1000); $m = new SWFMovie(); $m->setDimension(3000,2000); $m->setBackground(0xff, 0xff, 0xff); $i = $m->add($p); $i->moveTo(1500,1000); for ($r=0.0; $r<=1.0; $r+=0.1) { $i->setRatio($r); $m->nextFrame(); } 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/en/reference/ming/swfmorph/getshape1.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmorph/getshape1.xml +++ phpdoc/en/reference/ming/swfmorph/getshape1.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmorph.getshape1"> <refnamediv> <refname>SWFMorph->getShape1()</refname> <refpurpose>Gets a handle to the starting shape</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMorph</classname></ooclass> <methodsynopsis> <type>SWFShape</type><methodname>getShape1</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Gets the morph's starting shape. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns a <xref linkend="ming.swfshape" /> object. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmorph.getshape2" /></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/en/reference/ming/swfmorph/getshape2.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmorph/getshape2.xml +++ phpdoc/en/reference/ming/swfmorph/getshape2.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmorph.getshape2"> <refnamediv> <refname>SWFMorph->getShape2()</refname> <refpurpose>Gets a handle to the ending shape</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMorph</classname></ooclass> <methodsynopsis> <type>SWFShape</type><methodname>getShape2</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Gets the morph's ending shape. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns a <xref linkend="ming.swfshape" /> object. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmorph.getshape1" /></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/en/reference/ming/swfmovie/add.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/add.xml +++ phpdoc/en/reference/ming/swfmovie/add.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.add"> <refnamediv> <refname>SWFMovie->add()</refname> <refpurpose>Adds any type of data to a movie</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>mixed</type><methodname>add</methodname> <methodparam><type>object</type><parameter>instance</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Adds an SWF object <parameter>instance</parameter> to the current movie. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>instance</parameter></term> <listitem> <para> Any type of object instance, like <xref linkend="ming.swfshape" />, <xref linkend="ming.swftext" />, <xref linkend="ming.swffont" />. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> For displayable types (shape, text, button, sprite), this returns an <xref linkend="ming.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. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.remove" /></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/en/reference/ming/swfmovie/addexport.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/addexport.xml +++ phpdoc/en/reference/ming/swfmovie/addexport.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.addexport"> <refnamediv> <refname>SWFMovie->addExport()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addExport</methodname> <methodparam><type>SWFCharacter</type><parameter>char</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>char</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfmovie/addfont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/addfont.xml +++ phpdoc/en/reference/ming/swfmovie/addfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.addfont"> <refnamediv> <refname>SWFMovie->addFont()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFontChar</classname></ooclass> <methodsynopsis> <type>mixed</type><methodname>addFont</methodname> <methodparam><type>SWFFont</type><parameter>font</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>font</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfmovie/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/construct.xml +++ phpdoc/en/reference/ming/swfmovie/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.construct"> <refnamediv> <refname>SWFMovie->__construct()</refname> <refpurpose>Creates a new movie object, representing an SWF version 4 movie</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFMovie</type><methodname>__construct</methodname> <methodparam><type>int</type><parameter>version</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates a new movie object, representing an SWF movie. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>version</parameter></term> <listitem> <para> The desired SWF version. Default is 4. </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/en/reference/ming/swfmovie/importchar.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/importchar.xml +++ phpdoc/en/reference/ming/swfmovie/importchar.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.importchar"> <refnamediv> <refname>SWFMovie->importChar()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFSprite</type><methodname>importChar</methodname> <methodparam><type>string</type><parameter>libswf</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>libswf</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.importfont" /></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/en/reference/ming/swfmovie/importfont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/importfont.xml +++ phpdoc/en/reference/ming/swfmovie/importfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.importfont"> <refnamediv> <refname>SWFMovie->importFont()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFFontChar</type><methodname>importFont</methodname> <methodparam><type>string</type><parameter>libswf</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>libswf</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.importchar" /></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/en/reference/ming/swfmovie/labelframe.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/labelframe.xml +++ phpdoc/en/reference/ming/swfmovie/labelframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.labelframe"> <refnamediv> <refname>SWFMovie->labelFrame()</refname> <refpurpose>Labels a frame</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>labelFrame</methodname> <methodparam><type>string</type><parameter>label</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>label</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfmovie/nextframe.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/nextframe.xml +++ phpdoc/en/reference/ming/swfmovie/nextframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.nextframe"> <refnamediv> <refname>SWFMovie->nextFrame()</refname> <refpurpose>Moves to the next frame of the animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>nextFrame</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Moves to the next frame of the animation. </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/en/reference/ming/swfmovie/output.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/output.xml +++ phpdoc/en/reference/ming/swfmovie/output.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.output"> <refnamediv> <refname>SWFMovie->output()</refname> <refpurpose>Dumps your lovingly prepared movie out</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>int</type><methodname>output</methodname> <methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Dumps the <classname>SWFMovie</classname>. </para> <para> Don't forget to send the <literal>Content-Type</literal> HTTP header file before using this function, in order to display the movie in a browser. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>compression</parameter></term> <listitem> <para> The compression level can be a value between 0 and 9, defining the SWF compression similar to gzip compression. </para> <para> This parameter is only available as of Flash MX (6). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Return the number of bytes written or &false; on error. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Displaying your $movie in a browser</title> <programlisting role="php"> <![CDATA[ <?php header('Content-type: application/x-shockwave-flash'); $movie->output(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.save" /></member> <member><xref linkend="function.swfmovie.savetofile" /></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/en/reference/ming/swfmovie/remove.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/remove.xml +++ phpdoc/en/reference/ming/swfmovie/remove.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.remove"> <refnamediv> <refname>SWFMovie->remove()</refname> <refpurpose>Removes the object instance from the display list</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>remove</methodname> <methodparam><type>object</type><parameter>instance</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Removes the given object <parameter>instance</parameter> from the display list. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.add" /></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/en/reference/ming/swfmovie/save.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/save.xml +++ phpdoc/en/reference/ming/swfmovie/save.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.save"> <refnamediv> <refname>SWFMovie->save()</refname> <refpurpose>Saves the SWF movie in a file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>int</type><methodname>save</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Saves the SWF movie to the specified <parameter>filename</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> The path to the saved SWF document. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>compression</parameter></term> <listitem> <para> The compression level can be a value between 0 and 9, defining the SWF compression similar to gzip compression. </para> <para> This parameter is only available as of Flash MX (6). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Return the number of bytes written or &false; on error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.output" /></member> <member><xref linkend="function.swfmovie.savetofile" /></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/en/reference/ming/swfmovie/savetofile.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/savetofile.xml +++ phpdoc/en/reference/ming/swfmovie/savetofile.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.savetofile"> <refnamediv> <refname>SWFMovie->saveToFile()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>int</type><methodname>saveToFile</methodname> <methodparam><type>stream</type><parameter>x</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>X</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>compression</parameter></term> <listitem> <para> The compression level can be a value between 0 and 9, defining the SWF compression similar to gzip compression. </para> <para> This parameter is only available as of Flash MX (6). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Return the number of bytes written or &false; on error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.output" /></member> <member><xref linkend="function.swfmovie.save" /></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/en/reference/ming/swfmovie/setbackground.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/setbackground.xml +++ phpdoc/en/reference/ming/swfmovie/setbackground.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.setbackground"> <refnamediv> <refname>SWFMovie->setbackground()</refname> <refpurpose>Sets the background color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setbackground</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the background color. </para> <para> Why is there no rgba version? Think about it, you might want to let the HTML background show through. There's a way to do that, but it only works on IE4. Search the <ulink url="&url.macromedia;">&url.macromedia;</ulink> site for details. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> These parameters are integers between 0 and 255 or hexadecimals between <literal>0x00</literal> and <literal>0xFF</literal>: <variablelist> <varlistentry> <term><parameter>red</parameter></term> <listitem> <para> Value of red component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>green</parameter></term> <listitem> <para> Value of green component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>blue</parameter></term> <listitem> <para> Value of blue component </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/en/reference/ming/swfmovie/setdimension.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/setdimension.xml +++ phpdoc/en/reference/ming/swfmovie/setdimension.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 --> <refentry id="function.swfmovie.setdimension"> <refnamediv> <refname>SWFMovie->setDimension()</refname> <refpurpose>Sets the movie's width and height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setDimension</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the movie's dimension to the specified <parameter>width</parameter> and <parameter>height</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>width</parameter></term> <listitem> <para> The movie width. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>height</parameter></term> <listitem> <para> The movie height. </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/en/reference/ming/swfmovie/setframes.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/setframes.xml +++ phpdoc/en/reference/ming/swfmovie/setframes.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.setframes"> <refnamediv> <refname>SWFMovie->setFrames()</refname> <refpurpose>Sets the total number of frames in the animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setFrames</methodname> <methodparam><type>int</type><parameter>number</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the total number of frames in the animation to the given <parameter>number</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>number</parameter></term> <listitem> <para> The number of frames. </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/en/reference/ming/swfmovie/setrate.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/setrate.xml +++ phpdoc/en/reference/ming/swfmovie/setrate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.setrate"> <refnamediv> <refname>SWFMovie->setRate()</refname> <refpurpose>Sets the animation's frame rate</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRate</methodname> <methodparam><type>int</type><parameter>rate</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the frame rate to the specified <parameter>rate</parameter>. </para> <para> Animation will slow down if the player can't render frames fast enough- unless there's a streaming sound, in which case display frames are sacrificed to keep sound from skipping. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>rate</parameter></term> <listitem> <para> The frame rate, in frame per seconds. </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/en/reference/ming/swfmovie/startsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/startsound.xml +++ phpdoc/en/reference/ming/swfmovie/startsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.startsound"> <refnamediv> <refname>SWFMovie->startSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFSoundInstance</type><methodname>startSound</methodname> <methodparam><type>SWFSound</type><parameter>sound</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>sound</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.stopsound" /></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/en/reference/ming/swfmovie/stopsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/stopsound.xml +++ phpdoc/en/reference/ming/swfmovie/stopsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.stopsound"> <refnamediv> <refname>SWFMovie->stopSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>stopSound</methodname> <methodparam><type>SWFSound</type><parameter>sound</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.startsound" /></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/en/reference/ming/swfmovie/streammp3.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/streammp3.xml +++ phpdoc/en/reference/ming/swfmovie/streammp3.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.streammp3"> <refnamediv> <refname>SWFMovie->streamMP3()</refname> <refpurpose>Streams a MP3 file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>streamMP3</methodname> <methodparam><type>mixed</type><parameter>mp3file</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Streams the given MP3 file <parameter>mp3file</parameter>. </para> <para> This method is not very robust in dealing with oddities (can skip over an initial ID3 tag, but that's about it). </para> <para> Note that the movie isn't smart enough to put enough frames in to contain the entire mp3 stream- you'll have to add (length of song * frames per second) frames to get the entire stream in. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>mp3file</parameter></term> <listitem> <para> Can be a file pointer returned by <function>fopen</function> or the MP3 data, as a binary string. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Streaming example</title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setRate(12.0); $m->streamMp3(file_get_contents("distortobass.mp3")); // use your own MP3 // The file is 11.85 seconds at 12.0 fps = 142 frames $m->setFrames(142); 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/en/reference/ming/swfmovie/writeexports.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/writeexports.xml +++ phpdoc/en/reference/ming/swfmovie/writeexports.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.writeexports"> <refnamediv> <refname>SWFMovie->writeExports()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>writeExports</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </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/en/reference/ming/swfprebuiltclip/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfprebuiltclip/construct.xml +++ phpdoc/en/reference/ming/swfprebuiltclip/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfprebuiltclip.construct"> <refnamediv> <refname>SWFPrebuiltClip->__construct()</refname> <refpurpose>Returns a SWFPrebuiltClip object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFPrebuiltClip</classname></ooclass> <methodsynopsis> <type>SWFPrebuiltClip</type><methodname>__construct</methodname> <methodparam choice="opt"><type>string</type><parameter>file</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>file</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfshape/addfill.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/addfill.xml +++ phpdoc/en/reference/ming/swfshape/addfill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.addfill"> <refnamediv> <refname>SWFShape->addFill()</refname> <refpurpose>Adds a solid fill to the shape</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> <methodparam><type>SWFBitmap</type><parameter>bitmap</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> <methodparam><type>SWFGradient</type><parameter>gradient</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>SWFShape->addFill</function> adds a solid fill to the shape's list of fill styles. <function>SWFShape->addFill</function> accepts three different types of arguments. </para> <para> <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter> is a color (RGB mode). Last parameter <parameter>a</parameter> is optional. </para> <para> The <parameter>bitmap</parameter> argument is an <function>SWFBitmap</function> object. The <parameter>flags</parameter> argument can be one of the following values: SWFFILL_CLIPPED_BITMAP, SWFFILL_TILED_BITMAP, SWFFILL_LINEAR_GRADIENT or SWFFILL_RADIAL_GRADIENT. Default is SWFFILL_TILED_BITMAP for SWFBitmap and SWFFILL_LINEAR_GRADIENT for SWFGradient. </para> <para> The <parameter>gradient</parameter> argument is an <function>SWFGradient</function> object. The flags argument can be one of the following values : SWFFILL_RADIAL_GRADIENT or SWFFILL_LINEAR_GRADIENT. Default is SWFFILL_LINEAR_GRADIENT. I'm sure about this one. Really. </para> <para> <function>SWFShape->addFill</function> returns an <function>SWFFill</function> object for use with the <function>SWFShape->setLeftFill</function> and <function>SWFShape->setRightFill</function> functions described below. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will draw a frame on a bitmap. Ah, here's another buglet in the flash player- it doesn't seem to care about the second shape's bitmap's transformation in a morph. According to spec, the bitmap should stretch along with the shape in this example.. <example> <title><function>SWFShape->addFill</function> example</title> <programlisting role="php"> <![CDATA[ <?php $p = new SWFMorph(); $b = new SWFBitmap(file_get_contents("alphafill.jpg")); // use your own bitmap $width = $b->getWidth(); $height = $b->getHeight(); $s = $p->getShape1(); $f = $s->addFill($b, SWFFILL_TILED_BITMAP); $f->moveTo(-$width/2, -$height/4); $f->scaleTo(1.0, 0.5); $s->setLeftFill($f); $s->movePenTo(-$width/2, -$height/4); $s->drawLine($width, 0); $s->drawLine(0, $height/2); $s->drawLine(-$width, 0); $s->drawLine(0, -$height/2); $s = $p->getShape2(); $f = $s->addFill($b, SWFFILL_TILED_BITMAP); // these two have no effect! $f->moveTo(-$width/4, -$height/2); $f->scaleTo(0.5, 1.0); $s->setLeftFill($f); $s->movePenTo(-$width/4, -$height/2); $s->drawLine($width/2, 0); $s->drawLine(0, $height); $s->drawLine(-$width/2, 0); $s->drawLine(0, -$height); $m = new SWFMovie(); $m->setDimension($width, $height); $i = $m->add($p); $i->moveTo($width/2, $height/2); for ($n=0; $n<1.001; $n+=0.03) { $i->setRatio($n); $m->nextFrame(); } header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.setleftfill" /></member> <member><xref linkend="function.swfshape.setrightfill" /></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/en/reference/ming/swfshape/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/construct.xml +++ phpdoc/en/reference/ming/swfshape/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.construct"> <refnamediv> <refname>SWFShape->__construct()</refname> <refpurpose>Creates a new shape object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>SWFShape</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Created a new <classname>SWFShape</classname> object. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will draw a big red elliptic quadrant. <example> <title><function>swfshape</function> example</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $s->setLine(40, 0x7f, 0, 0); $s->setRightFill($s->addFill(0xff, 0, 0)); $s->movePenTo(200, 200); $s->drawLineTo(6200, 200); $s->drawLineTo(6200, 4600); $s->drawCurveTo(200, 4600, 200, 200); $m = new SWFMovie(); $m->setDimension(6400, 4800); $m->setRate(12.0); $m->add($s); $m->nextFrame(); 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/en/reference/ming/swfshape/drawarc.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawarc.xml +++ phpdoc/en/reference/ming/swfshape/drawarc.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawarc"> <refnamediv> <refname>SWFShape->drawArc()</refname> <refpurpose>Draws an arc of radius r centered at the current location, from angle startAngle to angle endAngle measured clockwise from 12 o'clock</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawArc</methodname> <methodparam><type>float</type><parameter>r</parameter></methodparam> <methodparam><type>float</type><parameter>startAngle</parameter></methodparam> <methodparam><type>float</type><parameter>endAngle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>r</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>startAngle</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>endAngle</parameter></term> <listitem> <para> Its description </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.swfshape.drawcircle" /></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/en/reference/ming/swfshape/drawcircle.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcircle.xml +++ phpdoc/en/reference/ming/swfshape/drawcircle.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcircle"> <refnamediv> <refname>SWFShape->drawCircle()</refname> <refpurpose>Draws a circle of radius r centered at the current location, in a counter-clockwise fashion</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawCircle</methodname> <methodparam><type>float</type><parameter>r</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>r</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfshape/drawcubic.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcubic.xml +++ phpdoc/en/reference/ming/swfshape/drawcubic.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcubic"> <refnamediv> <refname>SWFShape->drawCubic()</refname> <refpurpose>Draws a cubic bezier curve using the current position and the three given points as control points</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCubic</methodname> <methodparam><type>float</type><parameter>bx</parameter></methodparam> <methodparam><type>float</type><parameter>by</parameter></methodparam> <methodparam><type>float</type><parameter>cx</parameter></methodparam> <methodparam><type>float</type><parameter>cy</parameter></methodparam> <methodparam><type>float</type><parameter>dx</parameter></methodparam> <methodparam><type>float</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>bx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>by</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>cx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>cy</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dy</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcubicto" /></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/en/reference/ming/swfshape/drawcubicto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcubicto.xml +++ phpdoc/en/reference/ming/swfshape/drawcubicto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcubicto"> <refnamediv> <refname>SWFShape->drawCubicTo()</refname> <refpurpose>Draws a cubic bezier curve using the current position and the three given points as control points</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCubicTo</methodname> <methodparam><type>float</type><parameter>bx</parameter></methodparam> <methodparam><type>float</type><parameter>by</parameter></methodparam> <methodparam><type>float</type><parameter>cx</parameter></methodparam> <methodparam><type>float</type><parameter>cy</parameter></methodparam> <methodparam><type>float</type><parameter>dx</parameter></methodparam> <methodparam><type>float</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>bx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>by</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>cx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>cy</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dy</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcubic" /></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/en/reference/ming/swfshape/drawcurve.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcurve.xml +++ phpdoc/en/reference/ming/swfshape/drawcurve.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcurve"> <refnamediv> <refname>SWFShape->drawCurve()</refname> <refpurpose>Draws a curve (relative)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCurve</methodname> <methodparam><type>int</type><parameter>controldx</parameter></methodparam> <methodparam><type>int</type><parameter>controldy</parameter></methodparam> <methodparam><type>int</type><parameter>anchordx</parameter></methodparam> <methodparam><type>int</type><parameter>anchordy</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>targetdx</parameter></methodparam> <methodparam><type>int</type><parameter>targetdy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->drawcurve</function> draws a quadratic curve (using the current line style,set by <function>swfshape->setline</function>) from the current pen position to the relative position (<parameter>anchorx</parameter>,<parameter>anchory</parameter>) using relative control point (<parameter>controlx</parameter>,<parameter>controly</parameter>). That is, head towards the control point, then smoothly turn to the anchor point. </simpara> <simpara> With 6 parameters, it draws a cubic bezier to point (x+<parameter>targetdx</parameter>, x+<parameter>targetdy</parameter>) with control points (x+<parameter>controldx</parameter>, y+<parameter>controldy</parameter>) and (x+<parameter>anchordx</parameter>, y+<parameter>anchordy</parameter>). </simpara> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcurve" /></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/en/reference/ming/swfshape/drawcurveto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcurveto.xml +++ phpdoc/en/reference/ming/swfshape/drawcurveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcurveto"> <refnamediv> <refname>SWFShape->drawCurveTo()</refname> <refpurpose>Draws a curve</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCurveTo</methodname> <methodparam><type>int</type><parameter>controlx</parameter></methodparam> <methodparam><type>int</type><parameter>controly</parameter></methodparam> <methodparam><type>int</type><parameter>anchorx</parameter></methodparam> <methodparam><type>int</type><parameter>anchory</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>targetx</parameter></methodparam> <methodparam><type>int</type><parameter>targety</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->drawcurveto</function> draws a quadratic curve (using the current line style, set by <function>swfshape->setline</function>) from the current pen position to (<parameter>anchorx</parameter>,<parameter>anchory</parameter>) using (<parameter>controlx</parameter>,<parameter>controly</parameter>) as a control point. That is, head towards the control point, then smoothly turn to the anchor point. </simpara> <simpara> With 6 parameters, it draws a cubic bezier to point (<parameter>targetx</parameter>, <parameter>targety</parameter>) with control points (<parameter>controlx</parameter>, <parameter>controly</parameter>) and (<parameter>anchorx</parameter>, <parameter>anchory</parameter>). </simpara> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcurveto" /></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/en/reference/ming/swfshape/drawglyph.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawglyph.xml +++ phpdoc/en/reference/ming/swfshape/drawglyph.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawglyph"> <refnamediv> <refname>SWFShape->drawGlyph()</refname> <refpurpose>Draws the first character in the given string into the shape using the glyph definition from the given font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawGlyph</methodname> <methodparam><type>SWFFont</type><parameter>font</parameter></methodparam> <methodparam><type>string</type><parameter>character</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>size</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>font</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>character</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>size</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfshape/drawline.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawline.xml +++ phpdoc/en/reference/ming/swfshape/drawline.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawline"> <refnamediv> <refname>SWFShape->drawLine()</refname> <refpurpose>Draws a line (relative)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawLine</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->drawline</function> draws a line (using the current line style set by <function>swfshape->setline</function>) from the current pen position to displacement (<parameter>dx</parameter>,<parameter>dy</parameter>). </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawlineto" /></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/en/reference/ming/swfshape/drawlineto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawlineto.xml +++ phpdoc/en/reference/ming/swfshape/drawlineto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawlineto"> <refnamediv> <refname>SWFShape->drawLineTo()</refname> <refpurpose>Draws a line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawLineTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->setrightfill</function> draws a line (using the current line style, set by <function>swfshape->setline</function>) from the current pen position to point (<parameter>x</parameter>,<parameter>y</parameter>) in the shape's coordinate space. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawline" /></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/en/reference/ming/swfshape/movepen.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/movepen.xml +++ phpdoc/en/reference/ming/swfshape/movepen.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.movepen"> <refnamediv> <refname>SWFShape->movePen()</refname> <refpurpose>Moves the shape's pen (relative)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>movePen</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->setrightfill</function> move the shape's pen from coordinates (current x,current y) to (current x + <parameter>dx</parameter>, current y + <parameter>dy</parameter>) in the shape's coordinate space. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.movepento" /></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/en/reference/ming/swfshape/movepento.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/movepento.xml +++ phpdoc/en/reference/ming/swfshape/movepento.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.movepento"> <refnamediv> <refname>SWFShape->movePenTo()</refname> <refpurpose>Moves the shape's pen</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>movePenTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->setrightfill</function> move the shape's pen to (<parameter>x</parameter>,<parameter>y</parameter>) in the shape's coordinate space. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.movepen" /></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/en/reference/ming/swfshape/setleftfill.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/setleftfill.xml +++ phpdoc/en/reference/ming/swfshape/setleftfill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.setleftfill"> <refnamediv> <refname>SWFShape->setLeftFill()</refname> <refpurpose>Sets left rasterizing color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLeftFill</methodname> <methodparam><type>SWFGradient</type><parameter>fill</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>setLeftFill</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> What this nonsense is about is, every edge segment borders at most two fills. When rasterizing the object, it's pretty handy to know what those fills are ahead of time, so the swf format requires these to be specified. </para> <para> <function>swfshape->setleftfill</function> sets the fill on the left side of the edge- that is, on the interior if you're defining the outline of the shape in a counter-clockwise fashion. The fill object is an SWFFill object returned from one of the addFill functions above. </para> <para> This seems to be reversed when you're defining a shape in a morph, though. If your browser crashes, just try setting the fill on the other side. </para> <simpara> Shortcut for <literal>swfshape->setleftfill($s->addfill($r, $g, $b [, $a]));</literal>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.setrightfill" /></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/en/reference/ming/swfshape/setline.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/setline.xml +++ phpdoc/en/reference/ming/swfshape/setline.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.setline"> <refnamediv> <refname>SWFShape->setLine()</refname> <refpurpose>Sets the shape's line style</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLine</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>setLine</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfshape->setline</function> sets the shape's line style. <parameter>width</parameter> is the line's width. If <parameter>width</parameter> is 0, the line's style is removed (then, all other arguments are ignored). If <parameter>width</parameter> > 0, then line's color is set to <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter>. Last parameter <parameter>a</parameter> is optional. </para> <para> You must declare all line styles before you use them (see example). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will draw a big "!#%*@", in funny colors and gracious style. <example> <title><function>swfshape->setline</function> example</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $f1 = $s->addFill(0xff, 0, 0); $f2 = $s->addFill(0xff, 0x7f, 0); $f3 = $s->addFill(0xff, 0xff, 0); $f4 = $s->addFill(0, 0xff, 0); $f5 = $s->addFill(0, 0, 0xff); // bug: have to declare all line styles before you use them $s->setLine(40, 0x7f, 0, 0); $s->setLine(40, 0x7f, 0x3f, 0); $s->setLine(40, 0x7f, 0x7f, 0); $s->setLine(40, 0, 0x7f, 0); $s->setLine(40, 0, 0, 0x7f); $f = new SWFFont('Techno.fdb'); $s->setRightFill($f1); $s->setLine(40, 0x7f, 0, 0); $s->drawGlyph($f, '!'); $s->movePen($f->getWidth('!'), 0); $s->setRightFill($f2); $s->setLine(40, 0x7f, 0x3f, 0); $s->drawGlyph($f, '#'); $s->movePen($f->getWidth('#'), 0); $s->setRightFill($f3); $s->setLine(40, 0x7f, 0x7f, 0); $s->drawGlyph($f, '%'); $s->movePen($f->getWidth('%'), 0); $s->setRightFill($f4); $s->setLine(40, 0, 0x7f, 0); $s->drawGlyph($f, '*'); $s->movePen($f->getWidth('*'), 0); $s->setRightFill($f5); $s->setLine(40, 0, 0, 0x7f); $s->drawGlyph($f, '@'); $m = new SWFMovie(); $m->setDimension(3000,2000); $m->setRate(12.0); $i = $m->add($s); $i->moveTo(1500-$f->getWidth("!#%*@")/2, 1000+$f->getAscent()/2); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </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/en/reference/ming/swfshape/setrightfill.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/setrightfill.xml +++ phpdoc/en/reference/ming/swfshape/setrightfill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.setrightfill"> <refnamediv> <refname>SWFShape->setRightFill()</refname> <refpurpose>Sets right rasterizing color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRightFill</methodname> <methodparam><type>SWFGradient</type><parameter>fill</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>setRightFill</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> Shortcut for <literal>swfshape->setrightfill($s->addfill($r, $g, $b [, $a]));</literal>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.setleftfill" /></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/en/reference/ming/swfsound/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsound/construct.xml +++ phpdoc/en/reference/ming/swfsound/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsound.construct"> <refnamediv> <refname>SWFSound</refname> <refpurpose>Returns a new SWFSound object from given file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSound</classname></ooclass> <methodsynopsis> <type>SWFSound</type><methodname>__construct</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfsoundinstance/loopcount.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsoundinstance/loopcount.xml +++ phpdoc/en/reference/ming/swfsoundinstance/loopcount.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsoundinstance.loopcount"> <refnamediv> <refname>SWFSoundInstance->loopCount()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSoundInstance</classname></ooclass> <methodsynopsis> <type>void</type><methodname>loopCount</methodname> <methodparam><type>int</type><parameter>point</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>point</parameter></term> <listitem> <para> </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.swfsoundinstance.loopoutpoint" /></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/en/reference/ming/swfsoundinstance/loopinpoint.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsoundinstance/loopinpoint.xml +++ phpdoc/en/reference/ming/swfsoundinstance/loopinpoint.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsoundinstance.loopinpoint"> <refnamediv> <refname>SWFSoundInstance->loopInPoint()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSoundInstance</classname></ooclass> <methodsynopsis> <type>void</type><methodname>loopInPoint</methodname> <methodparam><type>int</type><parameter>point</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>point</parameter></term> <listitem> <para> </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.swfsoundinstance.loopoutpoint" /></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/en/reference/ming/swfsoundinstance/loopoutpoint.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsoundinstance/loopoutpoint.xml +++ phpdoc/en/reference/ming/swfsoundinstance/loopoutpoint.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsoundinstance.loopoutpoint"> <refnamediv> <refname>SWFSoundInstance->loopOutPoint()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSoundInstance</classname></ooclass> <methodsynopsis> <type>void</type><methodname>loopOutPoint</methodname> <methodparam><type>int</type><parameter>point</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>point</parameter></term> <listitem> <para> </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.swfsoundinstance.loopinpoint" /></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/en/reference/ming/swfsoundinstance/nomultiple.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsoundinstance/nomultiple.xml +++ phpdoc/en/reference/ming/swfsoundinstance/nomultiple.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsoundinstance.nomultiple"> <refnamediv> <refname>SWFSoundInstance->noMultiple()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSoundInstance</classname></ooclass> <methodsynopsis> <type>void</type><methodname>noMultiple</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </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/en/reference/ming/swfsprite/add.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/add.xml +++ phpdoc/en/reference/ming/swfsprite/add.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.add"> <refnamediv> <refname>SWFSprite->add()</refname> <refpurpose>Adds an object to a sprite</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>add</methodname> <methodparam><type>object</type><parameter>object</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfsprite->add</function> adds a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function>, a <function>swfaction</function> or a <function>swfsprite</function> object. </para> <para> For displayable types (<function>swfshape</function>, <function>swfbutton</function>, <function>swftext</function>, <function>swfaction</function> or <function>swfsprite</function>), this returns a handle to the object in a display list. </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/en/reference/ming/swfsprite/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/construct.xml +++ phpdoc/en/reference/ming/swfsprite/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.construct"> <refnamediv> <refname>SWFSprite->__construct()</refname> <refpurpose>Creates a movie clip (a sprite)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>SWFSprite</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates a new <classname>SWFSprite</classname> object. </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/en/reference/ming/swfsprite/labelframe.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/labelframe.xml +++ phpdoc/en/reference/ming/swfsprite/labelframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.labelframe"> <refnamediv> <refname>SWFSprite->labelFrame()</refname> <refpurpose>Labels frame</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>labelFrame</methodname> <methodparam><type>string</type><parameter>label</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>label</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfsprite/nextframe.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/nextframe.xml +++ phpdoc/en/reference/ming/swfsprite/nextframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.nextframe"> <refnamediv> <refname>SWFSprite->nextFrame()</refname> <refpurpose>Moves to the next frame of the animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>nextFrame</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfsprite->setframes</function> moves to the next frame of the animation. </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/en/reference/ming/swfsprite/remove.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/remove.xml +++ phpdoc/en/reference/ming/swfsprite/remove.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.remove"> <refnamediv> <refname>SWFSprite->remove()</refname> <refpurpose>Removes an object to a sprite</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>remove</methodname> <methodparam><type>object</type><parameter>object</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfsprite->remove</function> remove a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function>, a <function>swfaction</function> or a <function>swfsprite</function> object from the sprite. </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/en/reference/ming/swfsprite/setframes.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/setframes.xml +++ phpdoc/en/reference/ming/swfsprite/setframes.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.setframes"> <refnamediv> <refname>SWFSprite->setFrames()</refname> <refpurpose>Sets the total number of frames in the animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setFrames</methodname> <methodparam><type>int</type><parameter>number</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfsprite->setframes</function> sets the total number of frames in the animation to <parameter>numberofframes</parameter>. </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/en/reference/ming/swfsprite/startsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/startsound.xml +++ phpdoc/en/reference/ming/swfsprite/startsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.startsound"> <refnamediv> <refname>SWFSprite->startSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>SWFSoundInstance</type><methodname>startSound</methodname> <methodparam><type>SWFSound</type><parameter>sount</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>sound</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfsprite.stopsound" /></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/en/reference/ming/swfsprite/stopsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/stopsound.xml +++ phpdoc/en/reference/ming/swfsprite/stopsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.stopsound"> <refnamediv> <refname>SWFSprite->stopSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>stopSound</methodname> <methodparam><type>SWFSound</type><parameter>sount</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfsprite.startsound" /></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/en/reference/ming/swftext/addstring.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/addstring.xml +++ phpdoc/en/reference/ming/swftext/addstring.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.addstring"> <refnamediv> <refname>SWFText->addString()</refname> <refpurpose>Draws a string</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addString</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->addstring</function> draws the string <parameter>string</parameter> at the current pen (cursor) location. Pen is at the baseline of the text; i.e., ascending text is in the -y direction. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.addutf8string" /></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/en/reference/ming/swftext/addutf8string.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/addutf8string.xml +++ phpdoc/en/reference/ming/swftext/addutf8string.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.addutf8string"> <refnamediv> <refname>SWFText->addUTF8String()</refname> <refpurpose>Writes the given text into this SWFText object at the current pen position, using the current font, height, spacing, and color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addUTF8String</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>text</parameter></term> <listitem> <para> Its description </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.swftext.addstring" /></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/en/reference/ming/swftext/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/construct.xml +++ phpdoc/en/reference/ming/swftext/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.construct"> <refnamediv> <refname>SWFText->__construct()</refname> <refpurpose>Creates a new SWFText object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates a new <classname>SWFText</classname> object, fresh for manipulating. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will draw a big yellow "PHP generates Flash with Ming" text, on white background. <example> <title><function>swftext</function> example</title> <programlisting role="php"> <![CDATA[ <?php $f = new SWFFont("Techno.fdb"); $t = new SWFText(); $t->setFont($f); $t->moveTo(200, 2400); $t->setColor(0xff, 0xff, 0); $t->setHeight(1200); $t->addString("PHP generates Flash with Ming!!"); $m = new SWFMovie(); $m->setDimension(5400, 3600); $m->add($t); 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/en/reference/ming/swftext/getascent.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getascent.xml +++ phpdoc/en/reference/ming/swftext/getascent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getascent"> <refnamediv> <refname>SWFText->getAscent()</refname> <refpurpose>Returns the ascent of the current font at its current size, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getAscent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.getdescent" /></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/en/reference/ming/swftext/getdescent.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getdescent.xml +++ phpdoc/en/reference/ming/swftext/getdescent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getdescent"> <refnamediv> <refname>SWFText->getDescent()</refname> <refpurpose>Returns the descent of the current font at its current size, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getDescent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.getascent" /></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/en/reference/ming/swftext/getleading.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getleading.xml +++ phpdoc/en/reference/ming/swftext/getleading.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getleading"> <refnamediv> <refname>SWFText->getLeading()</refname> <refpurpose>Returns the leading of the current font at its current size, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getLeading</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swftext/getutf8width.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getutf8width.xml +++ phpdoc/en/reference/ming/swftext/getutf8width.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getutf8width"> <refnamediv> <refname>SWFText->getUTF8Width()</refname> <refpurpose>calculates the width of the given string in this text objects current font and size</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getUTF8Width</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>string</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.getwidth" /></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/en/reference/ming/swftext/getwidth.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getwidth.xml +++ phpdoc/en/reference/ming/swftext/getwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getwidth"> <refnamediv> <refname>SWFText->getWidth()</refname> <refpurpose>Computes string's width</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getWidth</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Returns the rendered width of the <parameter>string</parameter> at the text object's current font, scale, and spacing settings. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.getutf8width" /></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/en/reference/ming/swftext/moveto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/moveto.xml +++ phpdoc/en/reference/ming/swftext/moveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.moveto"> <refnamediv> <refname>SWFText->moveTo()</refname> <refpurpose>Moves the pen</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>moveTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->moveto</function> moves the pen (or cursor, if that makes more sense) to (<parameter>x</parameter>,<parameter>y</parameter>) in text object's coordinate space. If either is zero, though, value in that dimension stays the same. Annoying, should be fixed. </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/en/reference/ming/swftext/setcolor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/setcolor.xml +++ phpdoc/en/reference/ming/swftext/setcolor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.setcolor"> <refnamediv> <refname>SWFText->setColor()</refname> <refpurpose>Sets the current text color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setColor</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Changes the current text color. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> These parameters are integers between 0 and 255 or hexadecimals between <literal>0x00</literal> and <literal>0xFF</literal>: <variablelist> <varlistentry> <term><parameter>red</parameter></term> <listitem> <para> Value of red component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>green</parameter></term> <listitem> <para> Value of green component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>blue</parameter></term> <listitem> <para> Value of blue component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>a</parameter></term> <listitem> <para> Value of alpha component </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/en/reference/ming/swftext/setfont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/setfont.xml +++ phpdoc/en/reference/ming/swftext/setfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.setfont"> <refnamediv> <refname>SWFText->setFont()</refname> <refpurpose>Sets the current font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setFont</methodname> <methodparam><type>string</type><parameter>font</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->setfont</function> sets the current font to <parameter>font</parameter>. </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/en/reference/ming/swftext/setheight.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/setheight.xml +++ phpdoc/en/reference/ming/swftext/setheight.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.setheight"> <refnamediv> <refname>SWFText->setHeight()</refname> <refpurpose>Sets the current font height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setHeight</methodname> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->setheight</function> sets the current font height to <parameter>height</parameter>. Default is 240. </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/en/reference/ming/swftext/setspacing.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/setspacing.xml +++ phpdoc/en/reference/ming/swftext/setspacing.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.setspacing"> <refnamediv> <refname>SWFText->setSpacing()</refname> <refpurpose>Sets the current font spacing</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setSpacing</methodname> <methodparam><type>float</type><parameter>spacing</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->setspacing</function> sets the current font spacing to <parameter>spacing</parameter><parameter>spacing</parameter>. Default is 1.0. 0 is all of the letters written at the same point. This doesn't really work that well because it inflates the advance across the letter, doesn't add the same amount of spacing between the letters. I should try and explain that better, prolly. Or just fix the damn thing to do constant spacing. This was really just a way to figure out how letter advances work, anyway.. So nyah. </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/en/reference/ming/swftextfield/addchars.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/addchars.xml +++ phpdoc/en/reference/ming/swftextfield/addchars.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.addchars"> <refnamediv> <refname>SWFTextField->addChars()</refname> <refpurpose>adds characters to a font that will be available within a textfield</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addChars</methodname> <methodparam><type>string</type><parameter>chars</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>chars</parameter></term> <listitem> <para> Its description </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.swftextfield.addstring" /></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/en/reference/ming/swftextfield/addstring.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/addstring.xml +++ phpdoc/en/reference/ming/swftextfield/addstring.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.addstring"> <refnamediv> <refname>SWFTextField->addString()</refname> <refpurpose>Concatenates the given string to the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addString</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setname</function> concatenates the string <parameter>string</parameter> to the text field. </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/en/reference/ming/swftextfield/align.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/align.xml +++ phpdoc/en/reference/ming/swftextfield/align.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.align"> <refnamediv> <refname>SWFTextField->align()</refname> <refpurpose>Sets the text field alignment</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>align</methodname> <methodparam><type>int</type><parameter>alignement</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->align</function> sets the text field alignment to <parameter>alignement</parameter>. Valid values for <parameter>alignement</parameter> are : SWFTEXTFIELD_ALIGN_LEFT, SWFTEXTFIELD_ALIGN_RIGHT, SWFTEXTFIELD_ALIGN_CENTER and SWFTEXTFIELD_ALIGN_JUSTIFY. </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/en/reference/ming/swftextfield/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/construct.xml +++ phpdoc/en/reference/ming/swftextfield/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.construct"> <refnamediv> <refname>SWFTextField->__construct()</refname> <refpurpose>Creates a text field object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>SWFTextField</type><methodname>__construct</methodname> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield</function> creates a new text field object. Text Fields are less flexible than <function>swftext</function> objects- they can't be rotated, scaled non-proportionally, or skewed, but they can be used as form entries, and they can use browser-defined fonts. </para> <para> The optional flags change the text field's behavior. It has the following possibles values : <itemizedlist> <listitem> <simpara> SWFTEXTFIELD_DRAWBOX draws the outline of the textfield </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_HASLENGTH <!-- TODO: what does this constant mean? --> </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_HTML allows text markup using HTML-tags </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_MULTILINE allows multiple lines </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_NOSELECT makes the field non-selectable </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_PASSWORD obscures the data entry </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_WORDWRAP allows text to wrap </simpara> </listitem> </itemizedlist> Flags are combined with the bitwise <link linkend="language.operators.bitwise">OR</link> operation. For example, <programlisting role="php"> <![CDATA[ <?php $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); ?> ]]> </programlisting> creates a totally useless non-editable password field. </para> <simpara> SWFTextField has the following methods : <function>swftextfield->setfont</function>, <function>swftextfield->setbounds</function>, <function>swftextfield->align</function>, <function>swftextfield->setheight</function>, <function>swftextfield->setleftmargin</function>, <function>swftextfield->setrightmargin</function>, <function>swftextfield->setmargins</function>, <function>swftextfield->setindentation</function>, <function>swftextfield->setlinespacing</function>, <function>swftextfield->setcolor</function>, <function>swftextfield->setname</function> and <function>swftextfield->addstring</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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/swftextfield/setbounds.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setbounds.xml +++ phpdoc/en/reference/ming/swftextfield/setbounds.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setbounds"> <refnamediv> <refname>SWFTextField->setBounds()</refname> <refpurpose>Sets the text field width and height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setBounds</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setbounds</function> sets the text field width to <parameter>width</parameter> and height to <parameter>height</parameter>. If you don't set the bounds yourself, Ming makes a poor guess at what the bounds are. </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/en/reference/ming/swftextfield/setcolor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setcolor.xml +++ phpdoc/en/reference/ming/swftextfield/setcolor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setcolor"> <refnamediv> <refname>SWFTextField->setColor()</refname> <refpurpose>Sets the color of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setColor</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setcolor</function> sets the color of the text field. Default is fully opaque black. Color is represented using RGB system. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> These parameters are integers between 0 and 255 or hexadecimals between <literal>0x00</literal> and <literal>0xFF</literal>: <variablelist> <varlistentry> <term><parameter>red</parameter></term> <listitem> <para> Value of red component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>green</parameter></term> <listitem> <para> Value of green component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>blue</parameter></term> <listitem> <para> Value of blue component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>a</parameter></term> <listitem> <para> Value of alpha component </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/en/reference/ming/swftextfield/setfont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setfont.xml +++ phpdoc/en/reference/ming/swftextfield/setfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setfont"> <refnamediv> <refname>SWFTextField->setFont()</refname> <refpurpose>Sets the text field font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setFont</methodname> <methodparam><type>string</type><parameter>font</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setfont</function> sets the text field font to the [browser-defined?] <parameter>font</parameter> font. </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/en/reference/ming/swftextfield/setheight.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setheight.xml +++ phpdoc/en/reference/ming/swftextfield/setheight.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setheight"> <refnamediv> <refname>SWFTextField->setHeight()</refname> <refpurpose>Sets the font height of this text field font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setHeight</methodname> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setheight</function> sets the font height of this text field font to the given height <parameter>height</parameter>. Default is 240. </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/en/reference/ming/swftextfield/setindentation.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setindentation.xml +++ phpdoc/en/reference/ming/swftextfield/setindentation.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setindentation"> <refnamediv> <refname>SWFTextField->setIndentation()</refname> <refpurpose>Sets the indentation of the first line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setIndentation</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setindentation</function> sets the indentation of the first line in the text field, to <parameter>width</parameter>. </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/en/reference/ming/swftextfield/setleftmargin.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setleftmargin.xml +++ phpdoc/en/reference/ming/swftextfield/setleftmargin.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setleftmargin"> <refnamediv> <refname>SWFTextField->setLeftMargin()</refname> <refpurpose>Sets the left margin width of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLeftMargin</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setleftmargin</function> sets the left margin width of the text field to <parameter>width</parameter>. Default is 0. </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/en/reference/ming/swftextfield/setlinespacing.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setlinespacing.xml +++ phpdoc/en/reference/ming/swftextfield/setlinespacing.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setlinespacing"> <refnamediv> <refname>SWFTextField->setLineSpacing()</refname> <refpurpose>Sets the line spacing of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLineSpacing</methodname> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setlinespacing</function> sets the line spacing of the text field to the height of <parameter>height</parameter>. Default is 40. </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/en/reference/ming/swftextfield/setmargins.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setmargins.xml +++ phpdoc/en/reference/ming/swftextfield/setmargins.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setmargins"> <refnamediv> <refname>SWFTextField->setMargins()</refname> <refpurpose>Sets the margins width of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setMargins</methodname> <methodparam><type>int</type><parameter>left</parameter></methodparam> <methodparam><type>int</type><parameter>right</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setmargins</function> set both margins at once, for the man on the go. </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/en/reference/ming/swftextfield/setname.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setname.xml +++ phpdoc/en/reference/ming/swftextfield/setname.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setname"> <refnamediv> <refname>SWFTextField->setName()</refname> <refpurpose>Sets the variable name</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setName</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setname</function> sets the variable name of this text field to <parameter>name</parameter>, for form posting and action scripting purposes. </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/en/reference/ming/swftextfield/setpadding.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setpadding.xml +++ phpdoc/en/reference/ming/swftextfield/setpadding.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setpadding"> <refnamediv> <refname>SWFTextField->setPadding()</refname> <refpurpose>Sets the padding of this textfield</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setPadding</methodname> <methodparam><type>float</type><parameter>padding</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>padding</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swftextfield/setrightmargin.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setrightmargin.xml +++ phpdoc/en/reference/ming/swftextfield/setrightmargin.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setrightmargin"> <refnamediv> <refname>SWFTextField->setRightMargin()</refname> <refpurpose>Sets the right margin width of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRightMargin</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setrightmargin</function> sets the right margin width of the text field to <parameter>width</parameter>. Default is 0. </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/en/reference/ming/swfvideostream/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfvideostream/construct.xml +++ phpdoc/en/reference/ming/swfvideostream/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfvideostream.construct"> <refnamediv> <refname>SWFVideoStream->__construct()</refname> <refpurpose>Returns a SWFVideoStream object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFVideoStream</classname></ooclass> <methodsynopsis> <type>SWFVideoStream</type><methodname>__construct</methodname> <methodparam choice="opt"><type>string</type><parameter>file</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>file</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfvideostream/getnumframes.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfvideostream/getnumframes.xml +++ phpdoc/en/reference/ming/swfvideostream/getnumframes.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfvideostream.getnumframes"> <refnamediv> <refname>SWFVideoStream->getNumFrames()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFVideoStream</classname></ooclass> <methodsynopsis> <type>int</type><methodname>getNumFrames</methodname> <void/> </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/en/reference/ming/swfvideostream/setdimension.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfvideostream/setdimension.xml +++ phpdoc/en/reference/ming/swfvideostream/setdimension.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfvideostream.setdimension"> <refnamediv> <refname>SWFVideoStream->setDimension()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFVideoStream</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setDimension</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> </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/en/reference/ming/reference.xml?r1=1.8&r2=1.9&diff_format=u Index: phpdoc/en/reference/ming/reference.xml diff -u phpdoc/en/reference/ming/reference.xml:1.8 phpdoc/en/reference/ming/reference.xml:1.9 --- phpdoc/en/reference/ming/reference.xml:1.8 Mon Sep 5 15:39:41 2005 +++ phpdoc/en/reference/ming/reference.xml Sun Jan 21 05:08:09 2007 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- Purpose: utilspec.nontext --> <!-- Membership: bundled, external --> @@ -33,7 +33,7 @@ them. Ming provides some insulation from the mundane details of the SWF file format, wrapping the movie elements in PHP objects. Also, Ming is still being maintained; if there's a feature that you want to see, just - let us know <ulink url="mailto:&email.ming;">&email.ming;</ulink>. + let us know at <ulink url="&url.ming;">&url.ming;</ulink>. </para> <para> Ming was added in PHP 4.0.5. @@ -76,10 +76,56 @@ &reference.ming.constants; - &reference.ming.classes; + <section id="ming.classes"> + &reftitle.classes; + &extension.classes; + <para> + Ming introduces 13 new objects in PHP, all with matching methods and + attributes. To use them, you need to know about + <link linkend="language.oop">objects</link>. + </para> + + <section> + <title>Classes</title> + <simplelist> + <member><link linkend="ming.swfaction"><classname>SWFAction</classname></link></member> + <member><link linkend="ming.swfbitmap"><classname>SWFBitmap</classname></link></member> + <member><link linkend="ming.swfbutton"><classname>SWFButton</classname></link></member> + <member><link linkend="ming.swfdisplayitem"><classname>SWFDisplayItem</classname></link></member> + <member><link linkend="ming.swffill"><classname>SWFFill</classname></link></member> + <member><link linkend="ming.swffont"><classname>SWFFont</classname></link></member> + <member><link linkend="ming.swfgradient"><classname>SWFGradient</classname></link></member> + <member><link linkend="ming.swfmorph"><classname>SWFMorph</classname></link></member> + <member><link linkend="ming.swfmovie"><classname>SWFMovie</classname></link></member> + <member><link linkend="ming.swfprebuiltclip"><classname>SWFPrebuiltClip</classname></link></member> + <member><link linkend="ming.swfshape"><classname>SWFShape</classname></link></member> + <member><link linkend="ming.swfsound"><classname>SWFSound</classname></link></member> + <member><link linkend="ming.swfsprite"><classname>SWFSprite</classname></link></member> + <member><link linkend="ming.swftext"><classname>SWFText</classname></link></member> + <member><link linkend="ming.swftextfield"><classname>SWFTextField</classname></link></member> + <member><link linkend="ming.swfvideostream"><classname>SWFVideoStream</classname></link></member> + </simplelist> + </section> + + </section> </partintro> - +&reference.ming.swfaction; +&reference.ming.swfbitmap; +&reference.ming.swfbutton; +&reference.ming.swfdisplayitem; +&reference.ming.swffill; +&reference.ming.swffont; +&reference.ming.swfgradient; +&reference.ming.swfmorph; +&reference.ming.swfmovie; +&reference.ming.swfprebuiltclip; +&reference.ming.swfshape; +&reference.ming.swfsound; +&reference.ming.swfsprite; +&reference.ming.swftext; +&reference.ming.swftextfield; +&reference.ming.swfvideostream; &reference.ming.functions; </reference> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-keypress.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/ming/functions/ming-keypress.xml diff -u phpdoc/en/reference/ming/functions/ming-keypress.xml:1.2 phpdoc/en/reference/ming/functions/ming-keypress.xml:1.3 --- phpdoc/en/reference/ming/functions/ming-keypress.xml:1.2 Wed Sep 6 20:40:39 2006 +++ phpdoc/en/reference/ming/functions/ming-keypress.xml Sun Jan 21 05:08:10 2007 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- Generated by xml_proto.php v2.3. Found in /scripts directory of phpdoc. --> +<!-- $Revision: 1.3 $ --> <refentry id="function.ming-keypress"> <refnamediv> <refname>ming_keypress</refname> @@ -10,7 +9,7 @@ &reftitle.description; <methodsynopsis> <type>int</type><methodname>ming_keypress</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam><type>string</type><parameter>char</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; @@ -39,86 +38,8 @@ </para> </refsect1> - Use when EXCEPTIONS exist - <refsect1 role="errors"> - &reftitle.errors; - <para> - When does this function throw E_* level errors, or exceptions? - </para> - </refsect1> - --> - - - <!-- Use when a CHANGELOG exists - <refsect1 role="changelog"> - &reftitle.changelog; - <para> - <informaltable> - <tgroup cols="2"> - <thead> - <row> - <entry>&Version;</entry> - <entry>&Description;</entry> - </row> - </thead> - <tbody> - <row> - <entry>Enter the PHP version of change here</entry> - <entry>Description of change</entry> - </row> - </tbody> - </tgroup> - </informaltable> - </para> - </refsect1> - --> - - - <!-- Use when examples exist - <refsect1 role="examples"> - &reftitle.examples; - <para> - <example> - <title>A <function>ming_keypress</function> example</title> - <para> - Any text that describes the purpose of the example, or - what goes on in the example should go here (inside the - <example> tag, not out - </para> - <programlisting role="php"> -<![CDATA[ -<?php -if ($anexample === true) { - echo 'Use the PEAR Coding Standards'; -} -?> -]]> - </programlisting> - &example.outputs; - <screen> -<![CDATA[ -Use the PEAR Coding Standards -]]> - </screen> - </example> - </para> - </refsect1> --> - - <!-- Use when adding See Also links - <refsect1 role="seealso"> - &reftitle.seealso; - <para> - <simplelist> - <member><function></function></member> - <member>Or <link linkend="somethingelse">something else</link></member> - </simplelist> - </para> - </refsect1> - --> - - </refentry> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml diff -u phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml:1.2 phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml:1.3 --- phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml:1.2 Wed Apr 17 06:40:24 2002 +++ phpdoc/en/reference/ming/functions/ming-setcubicthreshold.xml Sun Jan 21 05:08:10 2007 @@ -1,24 +1,47 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/ming.xml, last change in rev 1.30 --> - <refentry id='function.ming-setcubicthreshold'> - <refnamediv> - <refname>ming_setcubicthreshold</refname> - <refpurpose> - Set cubic threshold (?) - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>ming_setcubicthreshold</methodname> - <methodparam><type>int</type><parameter>threshold</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<refentry id='function.ming-setcubicthreshold'> + <refnamediv> + <refname>ming_setcubicthreshold</refname> + <refpurpose> + Set cubic threshold + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>ming_setcubicthreshold</methodname> + <methodparam><type>int</type><parameter>threshold</parameter></methodparam> + </methodsynopsis> + <para> + Sets the threshold error for drawing cubic beziers. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>threshold</parameter></term> + <listitem> + <para> + The Threshold. Lower is more accurate, hence larger file size. + </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: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-setscale.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/ming/functions/ming-setscale.xml diff -u phpdoc/en/reference/ming/functions/ming-setscale.xml:1.2 phpdoc/en/reference/ming/functions/ming-setscale.xml:1.3 --- phpdoc/en/reference/ming/functions/ming-setscale.xml:1.2 Wed Apr 17 06:40:25 2002 +++ phpdoc/en/reference/ming/functions/ming-setscale.xml Sun Jan 21 05:08:10 2007 @@ -1,24 +1,31 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/ming.xml, last change in rev 1.30 --> - <refentry id='function.ming-setscale'> - <refnamediv> - <refname>ming_setscale</refname> - <refpurpose> - Set scale (?) - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>ming_setscale</methodname> - <methodparam><type>int</type><parameter>scale</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<refentry id='function.ming-setscale'> + <refnamediv> + <refname>ming_setscale</refname> + <refpurpose> + Set scale + </refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>ming_setscale</methodname> + <methodparam><type>int</type><parameter>scale</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-useswfversion.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/ming/functions/ming-useswfversion.xml diff -u phpdoc/en/reference/ming/functions/ming-useswfversion.xml:1.2 phpdoc/en/reference/ming/functions/ming-useswfversion.xml:1.3 --- phpdoc/en/reference/ming/functions/ming-useswfversion.xml:1.2 Wed Apr 17 06:40:25 2002 +++ phpdoc/en/reference/ming/functions/ming-useswfversion.xml Sun Jan 21 05:08:10 2007 @@ -1,24 +1,29 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<!-- splitted from ./en/functions/ming.xml, last change in rev 1.30 --> - <refentry id='function.ming-useswfversion'> - <refnamediv> - <refname>ming_useswfversion</refname> - <refpurpose> - Use SWF version (?) - </refpurpose> - </refnamediv> - <refsect1> - <title>Description</title> - <methodsynopsis> - <type>void</type><methodname>ming_useswfversion</methodname> - <methodparam><type>int</type><parameter>version</parameter></methodparam> - </methodsynopsis> - <para> - &warn.undocumented.func; - </para> - </refsect1> - </refentry> +<!-- $Revision: 1.3 $ --> +<refentry id='function.ming-useswfversion'> + <refnamediv> + <refname>ming_useswfversion</refname> + <refpurpose>Sets the SWF version</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>ming_useswfversion</methodname> + <methodparam><type>int</type><parameter>version</parameter></methodparam> + </methodsynopsis> + <para> + &warn.undocumented.func; + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/swfaction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfaction.xml +++ phpdoc/en/reference/ming/swfaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfaction"> <refnamediv> <refname>SWFAction</refname> <refpurpose>SWFAction Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> The script syntax is based on the C language, but with a lot taken out- the SWF bytecode machine is just too simpleminded to do a lot of things we might like. For instance, we can't implement function calls without a tremendous amount of hackery because the jump bytecode has a hardcoded offset value. No pushing your calling address to the stack and returning- every function would have to know exactly where to return to. </para> <para> So what's left? The compiler recognises the following tokens: <itemizedlist> <listitem> <simpara> break </simpara> </listitem> <listitem> <simpara> for </simpara> </listitem> <listitem> <simpara> continue </simpara> </listitem> <listitem> <simpara> if </simpara> </listitem> <listitem> <simpara> else </simpara> </listitem> <listitem> <simpara> do </simpara> </listitem> <listitem> <simpara> while </simpara> </listitem> </itemizedlist> </para> <para> There is no typed data; all values in the SWF action machine are stored as strings. The following functions can be used in expressions: <variablelist> <varlistentry> <term>time()</term> <listitem> <simpara> Returns the number of milliseconds (?) elapsed since the movie started. </simpara> </listitem> </varlistentry> <varlistentry> <term>random(seed)</term> <listitem> <simpara> Returns a pseudo-random number in the range 0-seed. </simpara> </listitem> </varlistentry> <varlistentry> <term>length(expr)</term> <listitem> <simpara> Returns the length of the given expression. </simpara> </listitem> </varlistentry> <varlistentry> <term>int(number)</term> <listitem> <simpara> Returns the given number rounded down to the nearest integer. </simpara> </listitem> </varlistentry> <varlistentry> <term>concat(expr, expr)</term> <listitem> <simpara> Returns the concatenation of the given expressions. </simpara> </listitem> </varlistentry> <varlistentry> <term>ord(expr)</term> <listitem> <simpara> Returns the ASCII code for the given character </simpara> </listitem> </varlistentry> <varlistentry> <term>chr(num)</term> <listitem> <simpara> Returns the character for the given ASCII code </simpara> </listitem> </varlistentry> <varlistentry> <term>substr(string, location, length)</term> <listitem> <simpara> Returns the substring of length <parameter>length</parameter> at location <parameter>location</parameter> of the given string <parameter>string</parameter>. </simpara> </listitem> </varlistentry> </variablelist> </para> <para> Additionally, the following commands may be used: <variablelist> <varlistentry> <term>duplicateClip(clip, name, depth)</term> <listitem> <simpara> Duplicate the named movie <parameter>clip</parameter> (aka sprite). The new movie clip has name <parameter>name</parameter> and is at depth <parameter>depth</parameter>. </simpara> </listitem> </varlistentry> <varlistentry> <term>removeClip(expr)</term> <listitem> <simpara> Removes the named movie clip. </simpara> </listitem> </varlistentry> <varlistentry> <term>trace(expr)</term> <listitem> <simpara> Write the given expression to the trace log. Doubtful that the browser plugin does anything with this. </simpara> </listitem> </varlistentry> <varlistentry> <term>startDrag(target, lock, [left, top, right, bottom])</term> <listitem> <simpara> Start dragging the movie clip <parameter>target</parameter>. The <parameter>lock</parameter> argument indicates whether to lock the mouse (?)- use 0 (&false;) or 1 (&true;). Optional parameters define a bounding area for the dragging. </simpara> </listitem> </varlistentry> <varlistentry> <term>stopDrag()</term> <listitem> <simpara> Stop dragging my heart around. And this movie clip, too. </simpara> </listitem> </varlistentry> <varlistentry> <term>callFrame(expr)</term> <listitem> <simpara> Call the named frame as a function. </simpara> </listitem> </varlistentry> <varlistentry> <term>getURL(url, target, [method])</term> <listitem> <simpara> Load the given URL into the named target. The <parameter>target</parameter> argument corresponds to HTML document targets (such as "_top" or "_blank"). The optional <parameter>method</parameter> argument can be POST or GET if you want to submit variables back to the server. </simpara> </listitem> </varlistentry> <varlistentry> <term>loadMovie(url, target)</term> <listitem> <simpara> Load the given URL into the named target. The <parameter>target</parameter> argument can be a frame name (I think), or one of the magical values "_level0" (replaces current movie) or "_level1" (loads new movie on top of current movie). </simpara> </listitem> </varlistentry> <varlistentry> <term>nextFrame()</term> <listitem> <simpara> Go to the next frame. </simpara> </listitem> </varlistentry> <varlistentry> <term>prevFrame()</term> <listitem> <simpara> Go to the last (or, rather, previous) frame. </simpara> </listitem> </varlistentry> <varlistentry> <term>play()</term> <listitem> <simpara> Start playing the movie. </simpara> </listitem> </varlistentry> <varlistentry> <term>stop()</term> <listitem> <simpara> Stop playing the movie. </simpara> </listitem> </varlistentry> <varlistentry> <term>toggleQuality()</term> <listitem> <simpara> Toggle between high and low quality. </simpara> </listitem> </varlistentry> <varlistentry> <term>stopSounds()</term> <listitem> <simpara> Stop playing all sounds. </simpara> </listitem> </varlistentry> <varlistentry> <term>gotoFrame(num)</term> <listitem> <simpara> Go to frame number <parameter>num</parameter>. Frame numbers start at 0. </simpara> </listitem> </varlistentry> <varlistentry> <term>gotoFrame(name)</term> <listitem> <simpara> Go to the frame named <parameter>name</parameter>. Which does a lot of good, since I haven't added frame labels yet. </simpara> </listitem> </varlistentry> <varlistentry> <term>setTarget(expr)</term> <listitem> <simpara> Sets the context for action. Or so they say- I really have no idea what this does. </simpara> </listitem> </varlistentry> </variablelist> And there's one weird extra thing. The expression frameLoaded(num) can be used in if statements and while loops to check if the given frame number has been loaded yet. Well, it's supposed to, anyway, but I've never tested it and I seriously doubt it actually works. You can just use /:framesLoaded instead. </para> <para> Movie clips (all together now- aka sprites) have properties. You can read all of them (or can you?), you can set some of them, and here they are: <itemizedlist> <listitem> <simpara> x </simpara> </listitem> <listitem> <simpara> y </simpara> </listitem> <listitem> <simpara> xScale </simpara> </listitem> <listitem> <simpara> yScale </simpara> </listitem> <listitem> <simpara> currentFrame - (read-only) </simpara> </listitem> <listitem> <simpara> totalFrames - (read-only) </simpara> </listitem> <listitem> <simpara> alpha - transparency level </simpara> </listitem> <listitem> <simpara> visible - 1=on, 0=off (?) </simpara> </listitem> <listitem> <simpara> width - (read-only) </simpara> </listitem> <listitem> <simpara> height - (read-only) </simpara> </listitem> <listitem> <simpara> rotation </simpara> </listitem> <listitem> <simpara> target - (read-only) (???) </simpara> </listitem> <listitem> <simpara> framesLoaded - (read-only) </simpara> </listitem> <listitem> <simpara> name </simpara> </listitem> <listitem> <simpara> dropTarget - (read-only) (???) </simpara> </listitem> <listitem> <simpara> url - (read-only) (???) </simpara> </listitem> <listitem> <simpara> highQuality - 1=high, 0=low (?) </simpara> </listitem> <listitem> <simpara> focusRect - (???) </simpara> </listitem> <listitem> <simpara> soundBufTime - (???) </simpara> </listitem> </itemizedlist> So, setting a sprite's x position is as simple as <literal>/box.x = 100;</literal>. Why the slash in front of the box, though? That's how flash keeps track of the sprites in the movie, just like a Unix filesystem- here it shows that box is at the top level. If the sprite named box had another sprite named biff inside of it, you'd set its x position with /box/biff.x = 100;. At least, I think so; correct me if I'm wrong here. </para> </refsect1> <refsect1 role="members" id="ming.swfaction.members"> <title>Class Members</title> <refsect2 id="ming.swfaction.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfaction.construct" /></member> </simplelist> </refsect2> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will move the red square across the window. <example> <title><function>swfaction</function> example</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $f = $s->addFill(0xff, 0, 0); $s->setRightFill($f); $s->movePenTo(-500, -500); $s->drawLineTo(500, -500); $s->drawLineTo(500, 500); $s->drawLineTo(-500, 500); $s->drawLineTo(-500, -500); $p = new SWFSprite(); $i = $p->add($s); $i->setDepth(1); $p->nextFrame(); for ($n=0; $n<5; ++$n) { $i->rotate(-15); $p->nextFrame(); } $m = new SWFMovie(); $m->setBackground(0xff, 0xff, 0xff); $m->setDimension(6000, 4000); $i = $m->add($p); $i->setDepth(1); $i->moveTo(-500,2000); $i->setName("box"); $m->add(new SWFAction("/box.x += 3;")); $m->nextFrame(); $m->add(new SWFAction("gotoFrame(0); play();")); $m->nextFrame(); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <para> This simple example tracks down your mouse on the screen. <example> <title><function>swfaction</function> example</title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setRate(36.0); $m->setDimension(1200, 800); $m->setBackground(0, 0, 0); /* mouse tracking sprite - empty, but follows mouse so we can get its x and y coordinates */ $i = $m->add(new SWFSprite()); $i->setName('mouse'); $m->add(new SWFAction(" startDrag('/mouse', 1); /* '1' means lock sprite to the mouse */ ")); /* might as well turn off antialiasing, since these are just squares. */ $m->add(new SWFAction(" this.quality = 0; ")); /* morphing box */ $r = new SWFMorph(); $s = $r->getShape1(); /* Note this is backwards from normal shapes. No idea why. */ $s->setLeftFill($s->addFill(0xff, 0xff, 0xff)); $s->movePenTo(-40, -40); $s->drawLine(80, 0); $s->drawLine(0, 80); $s->drawLine(-80, 0); $s->drawLine(0, -80); $s = $r->getShape2(); $s->setLeftFill($s->addFill(0x00, 0x00, 0x00)); $s->movePenTo(-1, -1); $s->drawLine(2, 0); $s->drawLine(0, 2); $s->drawLine(-2, 0); $s->drawLine(0, -2); /* sprite container for morphing box - this is just a timeline w/ the box morphing */ $box = new SWFSprite(); $box->add(new SWFAction(" stop(); ")); $i = $box->add($r); for ($n=0; $n<=20; ++$n) { $i->setRatio($n/20); $box->nextFrame(); } /* this container sprite allows us to use the same action code many times */ $cell = new SWFSprite(); $i = $cell->add($box); $i->setName('box'); $cell->add(new SWFAction(" setTarget('box'); /* ...x means the x coordinate of the parent, i.e. (..).x */ dx = (/mouse.x + random(6)-3 - ...x)/5; dy = (/mouse.y + random(6)-3 - ...y)/5; gotoFrame(int(dx*dx + dy*dy)); ")); $cell->nextFrame(); $cell->add(new SWFAction(" gotoFrame(0); play(); ")); $cell->nextFrame(); /* finally, add a bunch of the cells to the movie */ for ($x=0; $x<12; ++$x) { for ($y=0; $y<8; ++$y) { $i = $m->add($cell); $i->moveTo(100*$x+50, 100*$y+50); } } $m->nextFrame(); $m->add(new SWFAction(" gotoFrame(1); play(); ")); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <para> Same as above, but with nice colored balls... <example> <title><function>swfaction</function> example</title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setDimension(11000, 8000); $m->setBackground(0x00, 0x00, 0x00); $m->add(new SWFAction(" this.quality = 0; /frames.visible = 0; startDrag('/mouse', 1); ")); // mouse tracking sprite $t = new SWFSprite(); $i = $m->add($t); $i->setName('mouse'); $g = new SWFGradient(); $g->addEntry(0, 0xff, 0xff, 0xff, 0xff); $g->addEntry(0.1, 0xff, 0xff, 0xff, 0xff); $g->addEntry(0.5, 0xff, 0xff, 0xff, 0x5f); $g->addEntry(1.0, 0xff, 0xff, 0xff, 0); // gradient shape thing $s = new SWFShape(); $f = $s->addFill($g, SWFFILL_RADIAL_GRADIENT); $f->scaleTo(0.03); $s->setRightFill($f); $s->movePenTo(-600, -600); $s->drawLine(1200, 0); $s->drawLine(0, 1200); $s->drawLine(-1200, 0); $s->drawLine(0, -1200); // need to make this a sprite so we can multColor it $p = new SWFSprite(); $p->add($s); $p->nextFrame(); // put the shape in here, each frame a different color $q = new SWFSprite(); $q->add(new SWFAction("gotoFrame(random(7)+1); stop();")); $i = $q->add($p); $i->multColor(1.0, 1.0, 1.0); $q->nextFrame(); $i->multColor(1.0, 0.5, 0.5); $q->nextFrame(); $i->multColor(1.0, 0.75, 0.5); $q->nextFrame(); $i->multColor(1.0, 1.0, 0.5); $q->nextFrame(); $i->multColor(0.5, 1.0, 0.5); $q->nextFrame(); $i->multColor(0.5, 0.5, 1.0); $q->nextFrame(); $i->multColor(1.0, 0.5, 1.0); $q->nextFrame(); // finally, this one contains the action code $p = new SWFSprite(); $i = $p->add($q); $i->setName('frames'); $p->add(new SWFAction(" dx = (/:mousex-/:lastx)/3 + random(10)-5; dy = (/:mousey-/:lasty)/3; x = /:mousex; y = /:mousey; alpha = 100; ")); $p->nextFrame(); $p->add(new SWFAction(" this.x = x; this.y = y; this.alpha = alpha; x += dx; y += dy; dy += 3; alpha -= 8; ")); $p->nextFrame(); $p->add(new SWFAction("prevFrame(); play();")); $p->nextFrame(); $i = $m->add($p); $i->setName('frames'); $m->nextFrame(); $m->add(new SWFAction(" lastx = mousex; lasty = mousey; mousex = /mouse.x; mousey = /mouse.y; ++num; if (num == 11) num = 1; removeClip('char' & num); duplicateClip(/frames, 'char' & num, num); ")); $m->nextFrame(); $m->add(new SWFAction("prevFrame(); play();")); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <!-- Serious syntax errors in example <para> This simple example will handles keyboard actions. (You'll probably have to click in the window to give it focus. And you'll probably have to leave your mouse in the frame, too. If you know how to give buttons focus programatically, feel free to share, won't you?) <example> <title><function>swfaction</function> example</title> <programlisting role="php"> <![CDATA[ <?php /* sprite has one letter per frame */ $p = new SWFSprite(); $p->add(new SWFAction("stop();")); $chars = 'abcdefghijklmnopqrstuvwxyz'. 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'. '1234567890!@#$%^&/*()_+-=/[]{}|;:,.<>?`~'; $f = new SWFFont("_sans"); for ($n=0; $nremove($i); $t = new SWFTextField(); $t->setFont($f); $t->setHeight(240); $t->setBounds(600,240); $t->align(SWFTEXTFIELD_ALIGN_CENTER); $t->addString($c); $i = $p->add($t); $p->labelFrame($c); $p->nextFrame(); } /* hit region for button - the entire frame */ $s = new SWFShape(); $s->setFillStyle0($s->addSolidFill(0, 0, 0, 0)); $s->drawLine(600, 0); $s->drawLine(0, 400); $s->drawLine(-600, 0); $s->drawLine(0, -400); /* button checks for pressed key, sends sprite to the right frame */ $b = new SWFButton(); $b->addShape($s, SWFBUTTON_HIT); for($n=0; $naddAction(new SWFAction(" setTarget('/char'); gotoFrame('$c'); "), SWFBUTTON_KEYPRESS($c)); } $m = new SWFMovie(); $m->setDimension(600,400); $i = $m->add($p); $i->setName('char'); $i->moveTo(0,80); $m->add($b); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> --> </refsect1> </refentry> &reference.ming.swfaction.construct; <!-- 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/en/reference/ming/swfbitmap.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbitmap.xml +++ phpdoc/en/reference/ming/swfbitmap.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfbitmap"> <refnamediv> <refname>SWFBitmap</refname> <refpurpose>SWFBitmap Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfbitmap.members"> <title>Class Members</title> <refsect2 id="ming.swfbitmap.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfbitmap.construct" /></member> <member><xref linkend="function.swfbitmap.getheight" /></member> <member><xref linkend="function.swfbitmap.getwidth" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfbitmap.construct; &reference.ming.swfbitmap.getheight; &reference.ming.swfbitmap.getwidth; <!-- 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/en/reference/ming/swfbutton.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton.xml +++ phpdoc/en/reference/ming/swfbutton.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfbutton"> <refnamediv> <refname>SWFButton</refname> <refpurpose>SWFButton Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfbutton.members"> <title>Class Members</title> <refsect2 id="ming.swfbutton.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfbutton.construct" /></member> <member><xref linkend="function.swfbutton.addaction" /></member> <member><xref linkend="function.swfbutton.addasound" /></member> <member><xref linkend="function.swfbutton.addshape" /></member> <member><xref linkend="function.swfbutton.setaction" /></member> <member><xref linkend="function.swfbutton.setdown" /></member> <member><xref linkend="function.swfbutton.sethit" /></member> <member><xref linkend="function.swfbutton.setmenu" /></member> <member><xref linkend="function.swfbutton.setover" /></member> <member><xref linkend="function.swfbutton.setup" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfbutton.construct; &reference.ming.swfbutton.addaction; &reference.ming.swfbutton.addasound; &reference.ming.swfbutton.addshape; &reference.ming.swfbutton.setaction; &reference.ming.swfbutton.setdown; &reference.ming.swfbutton.sethit; &reference.ming.swfbutton.setmenu; &reference.ming.swfbutton.setover; &reference.ming.swfbutton.setup; <!-- 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/en/reference/ming/swfdisplayitem.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem.xml +++ phpdoc/en/reference/ming/swfdisplayitem.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfdisplayitem"> <refnamediv> <refname>SWFDisplayItem</refname> <refpurpose>SWFDisplayItem Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfdisplayitem.members"> <title>Class Members</title> <refsect2 id="ming.swfdisplayitem.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfdisplayitem.addaction" /></member> <member><xref linkend="function.swfdisplayitem.addcolor" /></member> <member><xref linkend="function.swfdisplayitem.endmask" /></member> <member><xref linkend="function.swfdisplayitem.getrot" /></member> <member><xref linkend="function.swfdisplayitem.getx" /></member> <member><xref linkend="function.swfdisplayitem.getxscale" /></member> <member><xref linkend="function.swfdisplayitem.getxskew" /></member> <member><xref linkend="function.swfdisplayitem.gety" /></member> <member><xref linkend="function.swfdisplayitem.getyscale" /></member> <member><xref linkend="function.swfdisplayitem.getyskew" /></member> <member><xref linkend="function.swfdisplayitem.move" /></member> <member><xref linkend="function.swfdisplayitem.moveto" /></member> <member><xref linkend="function.swfdisplayitem.multcolor" /></member> <member><xref linkend="function.swfdisplayitem.remove" /></member> <member><xref linkend="function.swfdisplayitem.rotate" /></member> <member><xref linkend="function.swfdisplayitem.rotateto" /></member> <member><xref linkend="function.swfdisplayitem.scale" /></member> <member><xref linkend="function.swfdisplayitem.scaleto" /></member> <member><xref linkend="function.swfdisplayitem.setdepth" /></member> <member><xref linkend="function.swfdisplayitem.setmasklevel" /></member> <member><xref linkend="function.swfdisplayitem.setmatrix" /></member> <member><xref linkend="function.swfdisplayitem.setname" /></member> <member><xref linkend="function.swfdisplayitem.setratio" /></member> <member><xref linkend="function.swfdisplayitem.skewx" /></member> <member><xref linkend="function.swfdisplayitem.skewxto" /></member> <member><xref linkend="function.swfdisplayitem.skewy" /></member> <member><xref linkend="function.swfdisplayitem.skewyto" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfdisplayitem.addaction; &reference.ming.swfdisplayitem.addcolor; &reference.ming.swfdisplayitem.endmask; &reference.ming.swfdisplayitem.getrot; &reference.ming.swfdisplayitem.getx; &reference.ming.swfdisplayitem.getxscale; &reference.ming.swfdisplayitem.getxskew; &reference.ming.swfdisplayitem.gety; &reference.ming.swfdisplayitem.getyscale; &reference.ming.swfdisplayitem.getyskew; &reference.ming.swfdisplayitem.move; &reference.ming.swfdisplayitem.moveto; &reference.ming.swfdisplayitem.multcolor; &reference.ming.swfdisplayitem.remove; &reference.ming.swfdisplayitem.rotate; &reference.ming.swfdisplayitem.rotateto; &reference.ming.swfdisplayitem.scale; &reference.ming.swfdisplayitem.scaleto; &reference.ming.swfdisplayitem.setdepth; &reference.ming.swfdisplayitem.setmasklevel; &reference.ming.swfdisplayitem.setmatrix; &reference.ming.swfdisplayitem.setname; &reference.ming.swfdisplayitem.setratio; &reference.ming.swfdisplayitem.skewx; &reference.ming.swfdisplayitem.skewxto; &reference.ming.swfdisplayitem.skewy; &reference.ming.swfdisplayitem.skewyto; <!-- 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/en/reference/ming/swffill.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill.xml +++ phpdoc/en/reference/ming/swffill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swffill"> <refnamediv> <refname>SWFFill</refname> <refpurpose>SWFFill Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> The <classname>SWFFill</classname> object allows you to transform (scale, skew, rotate) bitmap and gradient fills. </para> <para> <classname>swffill</classname> objects are created by the <xref linkend="function.swfshape.addfill" /> method. </para> </refsect1> <refsect1 role="members" id="ming.swffill.members"> <title>Class Members</title> <refsect2 id="ming.swffill.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swffill.moveto" /></member> <member><xref linkend="function.swffill.rotateto" /></member> <member><xref linkend="function.swffill.scaleto" /></member> <member><xref linkend="function.swffill.skewxto" /></member> <member><xref linkend="function.swffill.skewyto" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swffill.moveto; &reference.ming.swffill.rotateto; &reference.ming.swffill.scaleto; &reference.ming.swffill.skewxto; &reference.ming.swffill.skewyto; <!-- 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/en/reference/ming/swffont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont.xml +++ phpdoc/en/reference/ming/swffont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swffont"> <refnamediv> <refname>SWFFont</refname> <refpurpose>SWFFont Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> The <classname>SWFFont</classname> object represent a reference to the font definition, for us with <xref linkend="function.swftext.setfont" /> and <xref linkend="function.swftextfield.setfont" />. </para> </refsect1> <refsect1 role="members" id="ming.swffont.members"> <title>Class Members</title> <refsect2 id="ming.swffont.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swffont.construct" /></member> <member><xref linkend="function.swffont.getascent" /></member> <member><xref linkend="function.swffont.getdescent" /></member> <member><xref linkend="function.swffont.getleading" /></member> <member><xref linkend="function.swffont.getshape" /></member> <member><xref linkend="function.swffont.getutf8width" /></member> <member><xref linkend="function.swffont.getwidth" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swffont.construct; &reference.ming.swffont.getascent; &reference.ming.swffont.getdescent; &reference.ming.swffont.getleading; &reference.ming.swffont.getshape; &reference.ming.swffont.getutf8width; &reference.ming.swffont.getwidth; <!-- 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/en/reference/ming/swffontchar.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffontchar.xml +++ phpdoc/en/reference/ming/swffontchar.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swffontchar"> <refnamediv> <refname>SWFFontChar</refname> <refpurpose>SWFFontChar Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swffontchar.members"> <title>Class Members</title> <refsect2 id="ming.swffontchar.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swffontchar.addchars" /></member> <member><xref linkend="function.swffontchar.addutf8chars" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swffontchar.addchars; &reference.ming.swffontchar.addutf8chars; <!-- 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/en/reference/ming/swfgradient.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfgradient.xml +++ phpdoc/en/reference/ming/swfgradient.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfgradient"> <refnamediv> <refname>SWFGradient</refname> <refpurpose>SWFGradient Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfgradient.members"> <title>Class Members</title> <refsect2 id="ming.swfgradient.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfgradient.construct" /></member> <member><xref linkend="function.swfgradient.addentry" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfgradient.construct; &reference.ming.swfgradient.addentry; <!-- 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/en/reference/ming/swfmorph.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmorph.xml +++ phpdoc/en/reference/ming/swfmorph.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfmorph"> <refnamediv> <refname>SWFMorph</refname> <refpurpose>SWFMorph Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> The methods here are sort of weird. It would make more sense to just have newSWFMorph(shape1, shape2);, but as things are now, shape2 needs to know that it's the second part of a morph. (This, because it starts writing its output as soon as it gets drawing commands- if it kept its own description of its shapes and wrote on completion this and some other things would be much easier.) </para> </refsect1> <refsect1 role="members" id="ming.swfmorph.members"> <title>Class Members</title> <refsect2 id="ming.swfmorph.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfmorph.construct" /></member> <member><xref linkend="function.swfmorph.getshape1" /></member> <member><xref linkend="function.swfmorph.getshape2" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfmorph.construct; &reference.ming.swfmorph.getshape1; &reference.ming.swfmorph.getshape2; <!-- 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/en/reference/ming/swfmovie.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie.xml +++ phpdoc/en/reference/ming/swfmovie.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfmovie"> <refnamediv> <refname>SWFMovie</refname> <refpurpose>SWFMovie Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> <classname>SWFMovie</classname> is a movie object representing an SWF movie. </para> </refsect1> <refsect1 role="members" id="ming.swfmovie.members"> <title>Class Members</title> <refsect2 id="ming.swfmovie.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfmovie.construct" /></member> <member><xref linkend="function.swfmovie.add" /></member> <member><xref linkend="function.swfmovie.addexport" /></member> <member><xref linkend="function.swfmovie.addfont" /></member> <member><xref linkend="function.swfmovie.importchar" /></member> <member><xref linkend="function.swfmovie.importfont" /></member> <member><xref linkend="function.swfmovie.labelframe" /></member> <member><xref linkend="function.swfmovie.nextframe" /></member> <member><xref linkend="function.swfmovie.output" /></member> <member><xref linkend="function.swfmovie.remove" /></member> <member><xref linkend="function.swfmovie.save" /></member> <member><xref linkend="function.swfmovie.savetofile" /></member> <member><xref linkend="function.swfmovie.setbackground" /></member> <member><xref linkend="function.swfmovie.setdimension" /></member> <member><xref linkend="function.swfmovie.setframes" /></member> <member><xref linkend="function.swfmovie.setrate" /></member> <member><xref linkend="function.swfmovie.startsound" /></member> <member><xref linkend="function.swfmovie.stopsound" /></member> <member><xref linkend="function.swfmovie.streammp3" /></member> <member><xref linkend="function.swfmovie.writeexports" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfmovie.construct; &reference.ming.swfmovie.add; &reference.ming.swfmovie.addexport; &reference.ming.swfmovie.addfont; &reference.ming.swfmovie.importchar; &reference.ming.swfmovie.importfont; &reference.ming.swfmovie.labelframe; &reference.ming.swfmovie.nextframe; &reference.ming.swfmovie.output; &reference.ming.swfmovie.remove; &reference.ming.swfmovie.save; &reference.ming.swfmovie.savetofile; &reference.ming.swfmovie.setbackground; &reference.ming.swfmovie.setdimension; &reference.ming.swfmovie.setframes; &reference.ming.swfmovie.setrate; &reference.ming.swfmovie.startsound; &reference.ming.swfmovie.stopsound; &reference.ming.swfmovie.streammp3; &reference.ming.swfmovie.writeexports; <!-- 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/en/reference/ming/swfprebuiltclip.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfprebuiltclip.xml +++ phpdoc/en/reference/ming/swfprebuiltclip.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfprebuiltclip"> <refnamediv> <refname>SWFPrebuiltClip</refname> <refpurpose>SWFPrebuiltClip Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfprebuiltclip.members"> <title>Class Members</title> <refsect2 id="ming.swfprebuiltclip.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfprebuiltclip.construct" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfprebuiltclip.construct; <!-- 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/en/reference/ming/swfshape.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape.xml +++ phpdoc/en/reference/ming/swfshape.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfshape"> <refnamediv> <refname>SWFShape</refname> <refpurpose>SWFShape Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfshape.members"> <title>Class Members</title> <refsect2 id="ming.swfshape.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfshape.construct" /></member> <member><xref linkend="function.swfshape.addfill" /></member> <member><xref linkend="function.swfshape.drawarc" /></member> <member><xref linkend="function.swfshape.drawcircle" /></member> <member><xref linkend="function.swfshape.drawcubic" /></member> <member><xref linkend="function.swfshape.drawcubicto" /></member> <member><xref linkend="function.swfshape.drawcurve" /></member> <member><xref linkend="function.swfshape.drawcurveto" /></member> <member><xref linkend="function.swfshape.drawglyph" /></member> <member><xref linkend="function.swfshape.drawline" /></member> <member><xref linkend="function.swfshape.drawlineto" /></member> <member><xref linkend="function.swfshape.movepen" /></member> <member><xref linkend="function.swfshape.movepento" /></member> <member><xref linkend="function.swfshape.setleftfill" /></member> <member><xref linkend="function.swfshape.setline" /></member> <member><xref linkend="function.swfshape.setrightfill" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfshape.construct; &reference.ming.swfshape.addfill; &reference.ming.swfshape.drawarc; &reference.ming.swfshape.drawcircle; &reference.ming.swfshape.drawcubic; &reference.ming.swfshape.drawcubicto; &reference.ming.swfshape.drawcurve; &reference.ming.swfshape.drawcurveto; &reference.ming.swfshape.drawglyph; &reference.ming.swfshape.drawline; &reference.ming.swfshape.drawlineto; &reference.ming.swfshape.movepen; &reference.ming.swfshape.movepento; &reference.ming.swfshape.setleftfill; &reference.ming.swfshape.setline; &reference.ming.swfshape.setrightfill; <!-- 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/en/reference/ming/swfsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsound.xml +++ phpdoc/en/reference/ming/swfsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfsound"> <refnamediv> <refname>SWFSound</refname> <refpurpose>SWFSound Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfsound.members"> <title>Class Members</title> <refsect2 id="ming.swfsound.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfsound.construct" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfsound.construct; <!-- 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/en/reference/ming/swfsprite.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite.xml +++ phpdoc/en/reference/ming/swfsprite.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfsprite"> <refnamediv> <refname>SWFSprite</refname> <refpurpose>SWFSprite Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> An <classname>SWFSprite</classname> is also known as a "movie clip", this allows one to create objects which are animated in their own timelines. Hence, the sprite has most of the same methods as the movie. </para> </refsect1> <refsect1 role="members" id="ming.swfsprite.members"> <title>Class Members</title> <refsect2 id="ming.swfsprite.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfsprite.construct" /></member> <member><xref linkend="function.swfsprite.add" /></member> <member><xref linkend="function.swfsprite.labelframe" /></member> <member><xref linkend="function.swfsprite.nextframe" /></member> <member><xref linkend="function.swfsprite.remove" /></member> <member><xref linkend="function.swfsprite.setframes" /></member> <member><xref linkend="function.swfsprite.startsound" /></member> <member><xref linkend="function.swfsprite.stopsound" /></member> </simplelist> </refsect2> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will spin gracefully a big red square. <example> <title><function>swfsprite</function> example</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $s->setRightFill($s->addFill(0xff, 0, 0)); $s->movePenTo(-500, -500); $s->drawLineTo(500, -500); $s->drawLineTo(500, 500); $s->drawLineTo(-500, 500); $s->drawLineTo(-500, -500); $p = new SWFSprite(); $i = $p->add($s); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $i->rotate(15); $p->nextFrame(); $m = new SWFMovie(); $i = $m->add($p); $i->moveTo(1500, 1000); $i->setName("blah"); $m->setBackground(0xff, 0xff, 0xff); $m->setDimension(3000, 2000); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> </refentry> &reference.ming.swfsprite.construct; &reference.ming.swfsprite.add; &reference.ming.swfsprite.labelframe; &reference.ming.swfsprite.nextframe; &reference.ming.swfsprite.remove; &reference.ming.swfsprite.setframes; &reference.ming.swfsprite.startsound; &reference.ming.swfsprite.stopsound; <!-- 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/en/reference/ming/swftext.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext.xml +++ phpdoc/en/reference/ming/swftext.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swftext"> <refnamediv> <refname>SWFText</refname> <refpurpose>SWFText Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swftext.members"> <title>Class Members</title> <refsect2 id="ming.swftext.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swftext.construct" /></member> <member><xref linkend="function.swftext.addstring" /></member> <member><xref linkend="function.swftext.addutf8string" /></member> <member><xref linkend="function.swftext.getascent" /></member> <member><xref linkend="function.swftext.getdescent" /></member> <member><xref linkend="function.swftext.getleading" /></member> <member><xref linkend="function.swftext.getutf8width" /></member> <member><xref linkend="function.swftext.getwidth" /></member> <member><xref linkend="function.swftext.moveto" /></member> <member><xref linkend="function.swftext.setcolor" /></member> <member><xref linkend="function.swftext.setfont" /></member> <member><xref linkend="function.swftext.setheight" /></member> <member><xref linkend="function.swftext.setspacing" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swftext.construct; &reference.ming.swftext.addstring; &reference.ming.swftext.addutf8string; &reference.ming.swftext.getascent; &reference.ming.swftext.getdescent; &reference.ming.swftext.getleading; &reference.ming.swftext.getutf8width; &reference.ming.swftext.getwidth; &reference.ming.swftext.moveto; &reference.ming.swftext.setcolor; &reference.ming.swftext.setfont; &reference.ming.swftext.setheight; &reference.ming.swftext.setspacing; <!-- 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/en/reference/ming/swftextfield.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield.xml +++ phpdoc/en/reference/ming/swftextfield.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swftextfield"> <refnamediv> <refname>SWFTextField</refname> <refpurpose>SWFTextField Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swftextfield.members"> <title>Class Members</title> <refsect2 id="ming.swftextfield.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swftextfield.construct" /></member> <member><xref linkend="function.swftextfield.addchars" /></member> <member><xref linkend="function.swftextfield.addstring" /></member> <member><xref linkend="function.swftextfield.align" /></member> <member><xref linkend="function.swftextfield.setbounds" /></member> <member><xref linkend="function.swftextfield.setcolor" /></member> <member><xref linkend="function.swftextfield.setfont" /></member> <member><xref linkend="function.swftextfield.setheight" /></member> <member><xref linkend="function.swftextfield.setindentation" /></member> <member><xref linkend="function.swftextfield.setleftmargin" /></member> <member><xref linkend="function.swftextfield.setlinespacing" /></member> <member><xref linkend="function.swftextfield.setmargins" /></member> <member><xref linkend="function.swftextfield.setname" /></member> <member><xref linkend="function.swftextfield.setpadding" /></member> <member><xref linkend="function.swftextfield.setrightmargin" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swftextfield.construct; &reference.ming.swftextfield.addchars; &reference.ming.swftextfield.addstring; &reference.ming.swftextfield.align; &reference.ming.swftextfield.setbounds; &reference.ming.swftextfield.setcolor; &reference.ming.swftextfield.setfont; &reference.ming.swftextfield.setheight; &reference.ming.swftextfield.setindentation; &reference.ming.swftextfield.setleftmargin; &reference.ming.swftextfield.setlinespacing; &reference.ming.swftextfield.setmargins; &reference.ming.swftextfield.setname; &reference.ming.swftextfield.setpadding; &reference.ming.swftextfield.setrightmargin; <!-- 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/en/reference/ming/swfvideostream.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfvideostream.xml +++ phpdoc/en/reference/ming/swfvideostream.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="ming.swfvideostream"> <refnamediv> <refname>SWFVideoStream</refname> <refpurpose>SWFVideoStream Class</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <para> </para> </refsect1> <refsect1 role="members" id="ming.swfvideostream.members"> <title>Class Members</title> <refsect2 id="ming.swfvideostream.methods"> &reftitle.methods; <simplelist> <member><xref linkend="function.swfvideostream.construct" /></member> <member><xref linkend="function.swfvideostream.getnumframes" /></member> <member><xref linkend="function.swfvideostream.setdimension" /></member> </simplelist> </refsect2> </refsect1> </refentry> &reference.ming.swfvideostream.construct; &reference.ming.swfvideostream.getnumframes; &reference.ming.swfvideostream.setdimension; <!-- 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/en/reference/ming/functions/ming-useconstants.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/functions/ming-useconstants.xml +++ phpdoc/en/reference/ming/functions/ming-useconstants.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.ming-useconstants"> <refnamediv> <refname>ming_useconstants</refname> <refpurpose>Use constant pool</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <methodsynopsis> <type>void</type><methodname>ming_useconstants</methodname> <methodparam><type>int</type><parameter>use</parameter></methodparam> </methodsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>use</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfaction/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfaction/construct.xml +++ phpdoc/en/reference/ming/swfaction/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfaction.construct"> <refnamediv> <refname>SWFAction->__construct()</refname> <refpurpose>Creates a new 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> Creates a new SWFAction and compiles the given <parameter>script</parameter> in it. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>script</parameter></term> <listitem> <para> An ActionScript snippet to associate with the SWFAction. See <xref linkend="ming.swfaction" /> for more details. </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/en/reference/ming/swfbitmap/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbitmap/construct.xml +++ phpdoc/en/reference/ming/swfbitmap/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbitmap.construct"> <refnamediv> <refname>SWFBitmap->__construct()</refname> <refpurpose>Loads Bitmap object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFBitmap</classname></ooclass> <methodsynopsis> <type>SWFBitmap</type><methodname>__construct</methodname> <methodparam><type>mixed</type><parameter>file</parameter></methodparam> <methodparam choice="opt"><type>mixed</type><parameter>alphafile</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates the new <classname>SWFBitmap</classname> object from the given <parameter>file</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> For both parameters you can provide a file pointer returned by <function>fopen</function> or the image data, as a binary string. <variablelist> <varlistentry> <term><parameter>file</parameter></term> <listitem> <para> </para> <note> <para> We can only deal with baseline (frame 0) jpegs, no baseline optimized or progressive scan jpegs! </para> </note> <para> You can't import png images directly, though- have to use the png2dbl utility to make a dbl ("define bits lossless") file from the png. The reason for this is that I don't want a dependency on the png library in ming- autoconf should solve this, but that's not set up yet. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>alphafile</parameter></term> <listitem> <para> An MSK file to be used as an alpha mask for a JPEG image. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Importing a DBL file</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $f = $s->addFill(new SWFBitmap(file_get_contents("image.dbl"))); $s->setRightFill($f); $s->drawLine(32, 0); $s->drawLine(0, 32); $s->drawLine(-32, 0); $s->drawLine(0, -32); $m = new SWFMovie(); $m->setDimension(32, 32); $m->add($s); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> <para> <example> <title>Using an alpha mask</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); // .msk file generated with "gif2mask" utility $f = $s->addFill(new SWFBitmap(file_get_contents("alphafill.jpg"), file_get_contents("alphafill.msk"))); $s->setRightFill($f); $s->drawLine(640, 0); $s->drawLine(0, 480); $s->drawLine(-640, 0); $s->drawLine(0, -480); $c = new SWFShape(); $c->setRightFill($c->addFill(0x99, 0x99, 0x99)); $c->drawLine(40, 0); $c->drawLine(0, 40); $c->drawLine(-40, 0); $c->drawLine(0, -40); $m = new SWFMovie(); $m->setDimension(640, 480); $m->setBackground(0xcc, 0xcc, 0xcc); // draw checkerboard background for ($y=0; $y<480; $y+=40) { for ($x=0; $x<640; $x+=80) { $i = $m->add($c); $i->moveTo($x, $y); } $y+=40; for ($x=40; $x<640; $x+=80) { $i = $m->add($c); $i->moveTo($x, $y); } } $m->add($s); 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/en/reference/ming/swfbitmap/getheight.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbitmap/getheight.xml +++ phpdoc/en/reference/ming/swfbitmap/getheight.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbitmap.getheight"> <refnamediv> <refname>SWFBitmap->getHeight()</refname> <refpurpose>Returns the bitmap's height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFBitmap</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getHeight</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Returns the bitmap's height. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the bitmap height in pixels. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbitmap.getwidth" /></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/en/reference/ming/swfbitmap/getwidth.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbitmap/getwidth.xml +++ phpdoc/en/reference/ming/swfbitmap/getwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbitmap.getwidth"> <refnamediv> <refname>SWFBitmap->getWidth()</refname> <refpurpose>Returns the bitmap's width</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFBitmap</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getWidth</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Returns the bitmap's width. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns the bitmap width in pixels. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfbitmap.getheight" /></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/en/reference/ming/swfbutton/addaction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/addaction.xml +++ phpdoc/en/reference/ming/swfbutton/addaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.addaction"> <refnamediv> <refname>SWFButton->addAction()</refname> <refpurpose>Adds an 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> Adds the given <parameter>action</parameter> to the button for the given conditions. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> An <classname>SWFAction</classname>, returned by <xref linkend="function.swfaction.construct" />. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> The following <parameter>flags</parameter> are valid: <constant>SWFBUTTON_MOUSEOVER</constant>, <constant>SWFBUTTON_MOUSEOUT</constant>, <constant>SWFBUTTON_MOUSEUP</constant>, <constant>SWFBUTTON_MOUSEUPOUTSIDE</constant>, <constant>SWFBUTTON_MOUSEDOWN</constant>, <constant>SWFBUTTON_DRAGOUT</constant> and <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/en/reference/ming/swfbutton/addasound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/addasound.xml +++ phpdoc/en/reference/ming/swfbutton/addasound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.addasound"> <refnamediv> <refname>SWFButton->addASound()</refname> <refpurpose>Associates a sound with a button transition</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> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>sound</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swfbutton/addshape.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/addshape.xml +++ phpdoc/en/reference/ming/swfbutton/addshape.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.addshape"> <refnamediv> <refname>SWFButton->addShape()</refname> <refpurpose>Adds a shape to a button</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> Adds the given <parameter>shape</parameter> to the button. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>shape</parameter></term> <listitem> <para> An <classname>SWFShape</classname> instance </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> The following <parameter>flags</parameter> are valid: <constant>SWFBUTTON_UP</constant>, <constant>SWFBUTTON_OVER</constant>, <constant>SWFBUTTON_DOWN</constant> and <constant>SWFBUTTON_HIT</constant>. </para> <para> <constant>SWFBUTTON_HIT</constant> isn't ever displayed, it defines the hit region for the button. That is, everywhere the hit shape would be drawn is considered a "touchable" part of the button. </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/en/reference/ming/swfbutton/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/construct.xml +++ phpdoc/en/reference/ming/swfbutton/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.construct"> <refnamediv> <refname>SWFButton->__construct()</refname> <refpurpose>Creates a new Button</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> Creates a new Button. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will show your usual interactions with buttons : rollover, rollon, mouseup, mousedown, noaction. <example> <title>Usual interactions with buttons</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> This simple example will enables you to drag draw a big red button on the windows. No drag-and-drop, just moving around. <example> <title>Drag example</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' means don't lock to mouse 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/en/reference/ming/swfbutton/setaction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setaction.xml +++ phpdoc/en/reference/ming/swfbutton/setaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setaction"> <refnamediv> <refname>SWFButton->setAction()</refname> <refpurpose>Sets the 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> Sets the action to be performed when the button is clicked. </para> <para> This is a shortcut for <xref linkend="function.swfbutton.addaction" /> called with the <constant>SWFBUTTON_MOUSEUP</constant> flag. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> An <classname>SWFAction</classname>, returned by <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/en/reference/ming/swfbutton/setdown.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setdown.xml +++ phpdoc/en/reference/ming/swfbutton/setdown.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setdown"> <refnamediv> <refname>SWFButton->setDown()</refname> <refpurpose>Alias for 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> alias for 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/en/reference/ming/swfbutton/sethit.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/sethit.xml +++ phpdoc/en/reference/ming/swfbutton/sethit.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.sethit"> <refnamediv> <refname>SWFButton->setHit()</refname> <refpurpose>Alias for 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> alias for 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/en/reference/ming/swfbutton/setmenu.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setmenu.xml +++ phpdoc/en/reference/ming/swfbutton/setmenu.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setmenu"> <refnamediv> <refname>SWFButton->setMenu()</refname> <refpurpose>enable track as menu button behaviour</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> This parameter can be used for a slight different behavior of buttons. You can set it to 0 (off) or 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/en/reference/ming/swfbutton/setover.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setover.xml +++ phpdoc/en/reference/ming/swfbutton/setover.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setover"> <refnamediv> <refname>SWFButton->setOver()</refname> <refpurpose>Alias for 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> alias for 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/en/reference/ming/swfbutton/setup.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfbutton/setup.xml +++ phpdoc/en/reference/ming/swfbutton/setup.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfbutton.setup"> <refnamediv> <refname>SWFButton->setUp()</refname> <refpurpose>Alias for 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> alias for 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/en/reference/ming/swfdisplayitem/addaction.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/addaction.xml +++ phpdoc/en/reference/ming/swfdisplayitem/addaction.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.addaction"> <refnamediv> <refname>SWFDisplayItem->addAction()</refname> <refpurpose>Adds this SWFAction to the given SWFSprite instance</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</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.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>action</parameter></term> <listitem> <para> An <classname>SWFAction</classname>, returned by <xref linkend="function.swfaction.construct" />. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> </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="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/en/reference/ming/swfdisplayitem/addcolor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/addcolor.xml +++ phpdoc/en/reference/ming/swfdisplayitem/addcolor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.addcolor"> <refnamediv> <refname>SWFDisplayItem->addColor()</refname> <refpurpose>Adds the given color to this item's color transform</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addColor</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->addcolor</function> adds the color to this item's color transform. The color is given in its RGB form. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </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/en/reference/ming/swfdisplayitem/endmask.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/endmask.xml +++ phpdoc/en/reference/ming/swfdisplayitem/endmask.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.endmask"> <refnamediv> <refname>SWFDisplayItem->endMask()</refname> <refpurpose>Another way of defining a MASK layer</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>endMask</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </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/en/reference/ming/swfdisplayitem/getrot.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getrot.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getrot.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getrot"> <refnamediv> <refname>SWFDisplayItem->getRot()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getRot</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swfdisplayitem/getx.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getx.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getx.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getx"> <refnamediv> <refname>SWFDisplayItem->getX()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getX</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.gety" /></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/en/reference/ming/swfdisplayitem/getxscale.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getxscale.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getxscale.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getxscale"> <refnamediv> <refname>SWFDisplayItem->getXScale()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getXScale</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getyscale" /></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/en/reference/ming/swfdisplayitem/getxskew.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getxskew.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getxskew.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getxskew"> <refnamediv> <refname>SWFDisplayItem->getXSkew()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getXSkew</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getyskew" /></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/en/reference/ming/swfdisplayitem/gety.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/gety.xml +++ phpdoc/en/reference/ming/swfdisplayitem/gety.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.gety"> <refnamediv> <refname>SWFDisplayItem->getY()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getY</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getx" /></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/en/reference/ming/swfdisplayitem/getyscale.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getyscale.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getyscale.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getyscale"> <refnamediv> <refname>SWFDisplayItem->getYScale()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getYScale</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getxscale" /></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/en/reference/ming/swfdisplayitem/getyskew.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/getyskew.xml +++ phpdoc/en/reference/ming/swfdisplayitem/getyskew.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.getyskew"> <refnamediv> <refname>SWFDisplayItem->getYSkew()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getYSkew</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.getxskew" /></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/en/reference/ming/swfdisplayitem/move.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/move.xml +++ phpdoc/en/reference/ming/swfdisplayitem/move.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.move"> <refnamediv> <refname>SWFDisplayItem->move()</refname> <refpurpose>Moves object in relative coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>move</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->move</function> moves the current object by (<parameter>dx</parameter>,<parameter>dy</parameter>) from its current position. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.moveto" /></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/en/reference/ming/swfdisplayitem/moveto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/moveto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/moveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.moveto"> <refnamediv> <refname>SWFDisplayItem->moveTo()</refname> <refpurpose>Moves object in global coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>moveTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->moveto</function> moves the current object to (<parameter>x</parameter>,<parameter>y</parameter>) in global coordinates. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.move" /></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/en/reference/ming/swfdisplayitem/multcolor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/multcolor.xml +++ phpdoc/en/reference/ming/swfdisplayitem/multcolor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.multcolor"> <refnamediv> <refname>SWFDisplayItem->multColor()</refname> <refpurpose>Multiplies the item's color transform</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>multColor</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->multcolor</function> multiplies the item's color transform by the given values. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> These parameters are integers between 0 and 255 or hexadecimals between <literal>0x00</literal> and <literal>0xFF</literal>: <variablelist> <varlistentry> <term><parameter>red</parameter></term> <listitem> <para> Value of red component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>green</parameter></term> <listitem> <para> Value of green component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>blue</parameter></term> <listitem> <para> Value of blue component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>a</parameter></term> <listitem> <para> Value of alpha component </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will modify your picture's atmosphere to Halloween (use a landscape or bright picture). <example> <title><function>swfdisplayitem->multcolor</function> example</title> <programlisting role="php"> <![CDATA[ <?php $b = new SWFBitmap(file_get_contents("backyard.jpg")); // note use your own picture :-) $s = new SWFShape(); $s->setRightFill($s->addFill($b)); $s->drawLine($b->getWidth(), 0); $s->drawLine(0, $b->getHeight()); $s->drawLine(-$b->getWidth(), 0); $s->drawLine(0, -$b->getHeight()); $m = new SWFMovie(); $m->setDimension($b->getWidth(), $b->getHeight()); $i = $m->add($s); for ($n=0; $n<=20; ++$n) { $i->multColor(1.0-$n/10, 1.0, 1.0); $i->addColor(0xff*$n/20, 0, 0); $m->nextFrame(); } 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/en/reference/ming/swfdisplayitem/remove.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/remove.xml +++ phpdoc/en/reference/ming/swfdisplayitem/remove.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.remove"> <refnamediv> <refname>SWFDisplayItem->remove()</refname> <refpurpose>Removes the object from the movie</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>remove</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->remove</function> removes this object from the movie's display list. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.add" /></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/en/reference/ming/swfdisplayitem/rotate.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/rotate.xml +++ phpdoc/en/reference/ming/swfdisplayitem/rotate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.rotate"> <refnamediv> <refname>SWFDisplayItem->rotate()</refname> <refpurpose>Rotates in relative coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>rotate</methodname> <methodparam><type>float</type><parameter>angle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->rotate</function> rotates the current object by <parameter>angle</parameter> degrees from its current rotation. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.rotateto" /></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/en/reference/ming/swfdisplayitem/rotateto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/rotateto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/rotateto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.rotateto"> <refnamediv> <refname>SWFDisplayItem->rotateTo()</refname> <refpurpose>Rotates the object in global coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>rotateTo</methodname> <methodparam><type>float</type><parameter>angle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->rotateto</function> set the current object rotation to <parameter>angle</parameter> degrees in global coordinates. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This example bring three rotating string from the background to the foreground. Pretty nice. <example> <title><function>swfdisplayitem->rotateto</function> example</title> <programlisting role="php"> <![CDATA[ <?php $thetext = "ming!"; $f = new SWFFont("Bauhaus 93.fdb"); $m = new SWFMovie(); $m->setRate(24.0); $m->setDimension(2400, 1600); $m->setBackground(0xff, 0xff, 0xff); // functions with huge numbers of arbitrary // arguments are always a good idea! Really! function text($r, $g, $b, $a, $rot, $x, $y, $scale, $string) { global $f, $m; $t = new SWFText(); $t->setFont($f); $t->setColor($r, $g, $b, $a); $t->setHeight(960); $t->moveTo(-($f->getWidth($string))/2, $f->getAscent()/2); $t->addString($string); // we can add properties just like a normal PHP var, // as long as the names aren't already used. // e.g., we can't set $i->scale, because that's a function $i = $m->add($t); $i->x = $x; $i->y = $y; $i->rot = $rot; $i->s = $scale; $i->rotateTo($rot); $i->scale($scale, $scale); // but the changes are local to the function, so we have to // return the changed object. kinda weird.. return $i; } function step($i) { $oldrot = $i->rot; $i->rot = 19*$i->rot/20; $i->x = (19*$i->x + 1200)/20; $i->y = (19*$i->y + 800)/20; $i->s = (19*$i->s + 1.0)/20; $i->rotateTo($i->rot); $i->scaleTo($i->s, $i->s); $i->moveTo($i->x, $i->y); return $i; } // see? it sure paid off in legibility: $i1 = text(0xff, 0x33, 0x33, 0xff, 900, 1200, 800, 0.03, $thetext); $i2 = text(0x00, 0x33, 0xff, 0x7f, -560, 1200, 800, 0.04, $thetext); $i3 = text(0xff, 0xff, 0xff, 0x9f, 180, 1200, 800, 0.001, $thetext); for ($i=1; $i<=100; ++$i) { $i1 = step($i1); $i2 = step($i2); $i3 = step($i3); $m->nextFrame(); } header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.rotate" /></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/en/reference/ming/swfdisplayitem/scale.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/scale.xml +++ phpdoc/en/reference/ming/swfdisplayitem/scale.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.scale"> <refnamediv> <refname>SWFDisplayItem->scale()</refname> <refpurpose>Scales the object in relative coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>scale</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->scale</function> scales the current object by (<parameter>dx</parameter>,<parameter>dy</parameter>) from its current size. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.scaleto" /></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/en/reference/ming/swfdisplayitem/scaleto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/scaleto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/scaleto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.scaleto"> <refnamediv> <refname>SWFDisplayItem->scaleTo()</refname> <refpurpose>Scales the object in global coordinates</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>scaleTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->scaleto</function> scales the current object to (<parameter>x</parameter>,<parameter>y</parameter>) in global coordinates. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.scale" /></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/en/reference/ming/swfdisplayitem/setdepth.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setdepth.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setdepth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setdepth"> <refnamediv> <refname>SWFDisplayItem->setDepth()</refname> <refpurpose>Sets z-order</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setDepth</methodname> <methodparam><type>float</type><parameter>depth</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->setdepth</function> sets the object's z-order to <parameter>depth</parameter>. Depth defaults to the order in which instances are created (by adding a shape/text to a movie)- newer ones are on top of older ones. If two objects are given the same depth, only the later-defined one can be moved. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </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/en/reference/ming/swfdisplayitem/setmasklevel.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setmasklevel.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setmasklevel.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setmasklevel"> <refnamediv> <refname>SWFDisplayItem->setMaskLevel()</refname> <refpurpose>Defines a MASK layer at level</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setMaskLevel</methodname> <methodparam><type>int</type><parameter>level</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>level</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfdisplayitem/setmatrix.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setmatrix.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setmatrix.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setmatrix"> <refnamediv> <refname>SWFDisplayItem->setMatrix()</refname> <refpurpose>Sets the item's transform matrix</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setMatrix</methodname> <methodparam><type>float</type><parameter>a</parameter></methodparam> <methodparam><type>float</type><parameter>b</parameter></methodparam> <methodparam><type>float</type><parameter>c</parameter></methodparam> <methodparam><type>float</type><parameter>d</parameter></methodparam> <methodparam><type>float</type><parameter>x</parameter></methodparam> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>a</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>b</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>c</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>d</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfdisplayitem/setname.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setname.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setname.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setname"> <refnamediv> <refname>SWFDisplayItem->setName()</refname> <refpurpose>Sets the object's name</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setName</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->setname</function> sets the object's name to <parameter>name</parameter>, for targetting with action script. Only useful on sprites. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </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/en/reference/ming/swfdisplayitem/setratio.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/setratio.xml +++ phpdoc/en/reference/ming/swfdisplayitem/setratio.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.setratio"> <refnamediv> <refname>SWFDisplayItem->setRatio()</refname> <refpurpose>Sets the object's ratio</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRatio</methodname> <methodparam><type>float</type><parameter>ratio</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->setratio</function> sets the object's ratio to <parameter>ratio</parameter>. Obviously only useful for morphs. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will morph nicely three concentric circles. <example> <title><function>swfdisplayitem->setname</function> example</title> <programlisting role="php"> <![CDATA[ <?php $p = new SWFMorph(); $g = new SWFGradient(); $g->addEntry(0.0, 0, 0, 0); $g->addEntry(0.16, 0xff, 0xff, 0xff); $g->addEntry(0.32, 0, 0, 0); $g->addEntry(0.48, 0xff, 0xff, 0xff); $g->addEntry(0.64, 0, 0, 0); $g->addEntry(0.80, 0xff, 0xff, 0xff); $g->addEntry(1.00, 0, 0, 0); $s = $p->getShape1(); $f = $s->addFill($g, SWFFILL_RADIAL_GRADIENT); $f->scaleTo(0.05); $s->setLeftFill($f); $s->movePenTo(-160, -120); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $g = new SWFGradient(); $g->addEntry(0.0, 0, 0, 0); $g->addEntry(0.16, 0xff, 0, 0); $g->addEntry(0.32, 0, 0, 0); $g->addEntry(0.48, 0, 0xff, 0); $g->addEntry(0.64, 0, 0, 0); $g->addEntry(0.80, 0, 0, 0xff); $g->addEntry(1.00, 0, 0, 0); $s = $p->getShape2(); $f = $s->addFill($g, SWFFILL_RADIAL_GRADIENT); $f->scaleTo(0.05); $f->skewXTo(1.0); $s->setLeftFill($f); $s->movePenTo(-160, -120); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $m = new SWFMovie(); $m->setDimension(320, 240); $i = $m->add($p); $i->moveTo(160, 120); for ($n=0; $n<=1.001; $n+=0.01) { $i->setRatio($n); $m->nextFrame(); } 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/en/reference/ming/swfdisplayitem/skewx.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/skewx.xml +++ phpdoc/en/reference/ming/swfdisplayitem/skewx.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.skewx"> <refnamediv> <refname>SWFDisplayItem->skewX()</refname> <refpurpose>Sets the X-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewX</methodname> <methodparam><type>float</type><parameter>ddegrees</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->skewx</function> adds <parameter>ddegrees</parameter> to current x-skew. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.skewxto" /></member> <member><xref linkend="function.swfdisplayitem.skewy" /></member> <member><xref linkend="function.swfdisplayitem.skewyto" /></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/en/reference/ming/swfdisplayitem/skewxto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/skewxto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/skewxto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.skewxto"> <refnamediv> <refname>SWFDisplayItem->skewXTo()</refname> <refpurpose>Sets the X-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewXTo</methodname> <methodparam><type>float</type><parameter>degrees</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->skewxto</function> sets the x-skew to <parameter>degrees</parameter>. For <parameter>degrees</parameter> is 1.0, it means a 45-degree forward slant. More is more forward, less is more backward. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.skewx" /></member> <member><xref linkend="function.swfdisplayitem.skewy" /></member> <member><xref linkend="function.swfdisplayitem.skewyto" /></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/en/reference/ming/swfdisplayitem/skewy.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/skewy.xml +++ phpdoc/en/reference/ming/swfdisplayitem/skewy.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.skewy"> <refnamediv> <refname>SWFDisplayItem->skewY()</refname> <refpurpose>Sets the Y-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewY</methodname> <methodparam><type>float</type><parameter>ddegrees</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->skewy</function> adds <parameter>ddegrees</parameter> to current y-skew. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.skewyto" /></member> <member><xref linkend="function.swfdisplayitem.skewx" /></member> <member><xref linkend="function.swfdisplayitem.skewxto" /></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/en/reference/ming/swfdisplayitem/skewyto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfdisplayitem/skewyto.xml +++ phpdoc/en/reference/ming/swfdisplayitem/skewyto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfdisplayitem.skewyto"> <refnamediv> <refname>SWFDisplayItem->skewYTo()</refname> <refpurpose>Sets the Y-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFDisplayItem</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewYTo</methodname> <methodparam><type>float</type><parameter>degrees</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfdisplayitem->skewyto</function> sets the y-skew to <parameter>degrees</parameter>. For <parameter>degrees</parameter> is 1.0, it means a 45-degree forward slant. More is more upward, less is more downward. </para> <simpara> The object may be a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function> or a <function>swfsprite</function> object. It must have been added using the <function>swfmovie->add</function>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfdisplayitem.skewy" /></member> <member><xref linkend="function.swfdisplayitem.skewx" /></member> <member><xref linkend="function.swfdisplayitem.skewxto" /></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/en/reference/ming/swffill/moveto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/moveto.xml +++ phpdoc/en/reference/ming/swffill/moveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.moveto"> <refnamediv> <refname>SWFFill->moveTo()</refname> <refpurpose>Moves fill origin</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>moveTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Moves the fill origin to the given global coordinates. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> X-coordinate </para> </listitem> </varlistentry> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> Y-coordinate </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/en/reference/ming/swffill/rotateto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/rotateto.xml +++ phpdoc/en/reference/ming/swffill/rotateto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.rotateto"> <refnamediv> <refname>SWFFill->rotateTo()</refname> <refpurpose>Sets fill's rotation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>rotateTo</methodname> <methodparam><type>float</type><parameter>angle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the fill rotation to the given <parameter>angle</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>angle</parameter></term> <listitem> <para> The rotation angle, in degreess. </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/en/reference/ming/swffill/scaleto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/scaleto.xml +++ phpdoc/en/reference/ming/swffill/scaleto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.scaleto"> <refnamediv> <refname>SWFFill->scaleTo()</refname> <refpurpose>Sets fill's scale</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>scaleTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the fill scale to the given coordinates. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> X-coordinate </para> </listitem> </varlistentry> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> Y-coordinate </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/en/reference/ming/swffill/skewxto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/skewxto.xml +++ phpdoc/en/reference/ming/swffill/skewxto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.skewxto"> <refnamediv> <refname>SWFFill->skewXTo()</refname> <refpurpose>Sets fill x-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewXTo</methodname> <methodparam><type>float</type><parameter>x</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the fill x-skew to <parameter>x</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>x</parameter></term> <listitem> <para> When <parameter>x</parameter> is 1.0, it is a 45-degree forward slant. More is more forward, less is more backward. </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.swffill.skewyto" /></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/en/reference/ming/swffill/skewyto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffill/skewyto.xml +++ phpdoc/en/reference/ming/swffill/skewyto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffill.skewyto"> <refnamediv> <refname>SWFFill->skewYTo()</refname> <refpurpose>Sets fill y-skew</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFill</classname></ooclass> <methodsynopsis> <type>void</type><methodname>skewYTo</methodname> <methodparam><type>float</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the fill y-skew to <parameter>y</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>y</parameter></term> <listitem> <para> When <parameter>y</parameter> is 1.0, it is a 45-degree upward slant. More is more upward, less is more downward. </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.swffill.skewxto" /></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/en/reference/ming/swffont/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/construct.xml +++ phpdoc/en/reference/ming/swffont/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.construct"> <refnamediv> <refname>SWFFont->__construct()</refname> <refpurpose>Loads a font definition</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>SWFFont</type><methodname>__construct</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> If <parameter>filename</parameter> is the name of an FDB file (i.e., it ends in ".fdb"), load the font definition found in said file. Otherwise, create a browser-defined font reference. </para> <para> FDB ("font definition block") is a very simple wrapper for the SWF DefineFont2 block which contains a full description of a font. One may create FDB files from SWT Generator template files with the included makefdb utility- look in the util directory off the main ming distribution directory. </para> <para> Browser-defined fonts don't contain any information about the font other than its name. It is assumed that the font definition will be provided by the movie player. The fonts _serif, _sans, and _typewriter should always be available. For example: <programlisting role="php"> <![CDATA[ <?php $f = newSWFFont("_sans"); ?> ]]> </programlisting> will give you the standard sans-serif font, probably the same as what you'd get with <literal><font name="sans-serif"></literal> in HTML. </para> <para> </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/en/reference/ming/swffont/getascent.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getascent.xml +++ phpdoc/en/reference/ming/swffont/getascent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getascent"> <refnamediv> <refname>SWFFont->getAscent()</refname> <refpurpose>Returns the ascent of the font, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getAscent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getdescent" /></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/en/reference/ming/swffont/getdescent.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getdescent.xml +++ phpdoc/en/reference/ming/swffont/getdescent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getdescent"> <refnamediv> <refname>SWFFont->getDescent()</refname> <refpurpose>Returns the descent of the font, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getDescent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getascent" /></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/en/reference/ming/swffont/getleading.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getleading.xml +++ phpdoc/en/reference/ming/swffont/getleading.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getleading"> <refnamediv> <refname>SWFFont->getLeading()</refname> <refpurpose>Returns the leading of the font, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getLeading</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swffont/getshape.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getshape.xml +++ phpdoc/en/reference/ming/swffont/getshape.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getshape"> <refnamediv> <refname>SWFFont->getShape()</refname> <refpurpose>Returns the glyph shape of a char as a text string</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>string</type><methodname>getShape</methodname> <methodparam><type>int</type><parameter>code</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swffont/getutf8width.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getutf8width.xml +++ phpdoc/en/reference/ming/swffont/getutf8width.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getutf8width"> <refnamediv> <refname>SWFFont->getUTF8Width()</refname> <refpurpose>Calculates the width of the given string in this font at full height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getUTF8Width</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>string</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getwidth" /></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/en/reference/ming/swffont/getwidth.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffont/getwidth.xml +++ phpdoc/en/reference/ming/swffont/getwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffont.getwidth"> <refnamediv> <refname>SWFFont->getWidth()</refname> <refpurpose>Returns the string's width</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFont</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getWidth</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swffont->getwidth</function> returns the string <parameter>string</parameter>'s width, using font's default scaling. You'll probably want to use the <function>swftext</function> version of this method which uses the text object's scale. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swffont.getutf8width" /></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/en/reference/ming/swffontchar/addchars.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffontchar/addchars.xml +++ phpdoc/en/reference/ming/swffontchar/addchars.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffontchar.addchars"> <refnamediv> <refname>SWFFontChar->addChars()</refname> <refpurpose>Adds characters to a font for exporting font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFontChar</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addChars</methodname> <methodparam><type>string</type><parameter>char</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>char</parameter></term> <listitem> <para> Its description </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.swffontchar.addutf8chars" /></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/en/reference/ming/swffontchar/addutf8chars.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swffontchar/addutf8chars.xml +++ phpdoc/en/reference/ming/swffontchar/addutf8chars.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swffontchar.addutf8chars"> <refnamediv> <refname>SWFFontChar->addUTF8Chars()</refname> <refpurpose>Adds characters to a font for exporting font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFontChar</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addUTF8Chars</methodname> <methodparam><type>string</type><parameter>char</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>char</parameter></term> <listitem> <para> Its description </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.swffontchar.addchars" /></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/en/reference/ming/swfgradient/addentry.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfgradient/addentry.xml +++ phpdoc/en/reference/ming/swfgradient/addentry.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfgradient.addentry"> <refnamediv> <refname>SWFGradient->addEntry()</refname> <refpurpose>Adds an entry to the gradient list</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFGradient</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addEntry</methodname> <methodparam><type>float</type><parameter>ratio</parameter></methodparam> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfgradient->addentry</function> adds an entry to the gradient list. <parameter>ratio</parameter> is a number between 0 and 1 indicating where in the gradient this color appears. Thou shalt add entries in order of increasing ratio. </para> <para> <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter> is a color (RGB mode). Last parameter <parameter>a</parameter> is optional. </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/en/reference/ming/swfgradient/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfgradient/construct.xml +++ phpdoc/en/reference/ming/swfgradient/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfgradient.construct"> <refnamediv> <refname>SWFGradient->__construct()</refname> <refpurpose>Creates a gradient object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFGradient</classname></ooclass> <methodsynopsis> <type>SWFGradient</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfgradient</function> creates a new SWFGradient object. </para> <simpara> After you've added the entries to your gradient, you can use the gradient in a shape fill with the <function>swfshape->addfill</function> method. </simpara> <simpara> SWFGradient has the following methods : <function>swfgradient->addentry</function>. </simpara> <para> This simple example will draw a big black-to-white gradient as background, and a reddish disc in its center. <example> <title><function>swfgradient</function> example</title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setDimension(320, 240); $s = new SWFShape(); // first gradient- black to white $g = new SWFGradient(); $g->addEntry(0.0, 0, 0, 0); $g->addEntry(1.0, 0xff, 0xff, 0xff); $f = $s->addFill($g, SWFFILL_LINEAR_GRADIENT); $f->scaleTo(0.01); $f->moveTo(160, 120); $s->setRightFill($f); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $m->add($s); $s = new SWFShape(); // second gradient- radial gradient from red to transparent $g = new SWFGradient(); $g->addEntry(0.0, 0xff, 0, 0, 0xff); $g->addEntry(1.0, 0xff, 0, 0, 0); $f = $s->addFill($g, SWFFILL_RADIAL_GRADIENT); $f->scaleTo(0.005); $f->moveTo(160, 120); $s->setRightFill($f); $s->drawLine(320, 0); $s->drawLine(0, 240); $s->drawLine(-320, 0); $s->drawLine(0, -240); $m->add($s); 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/en/reference/ming/swfmorph/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmorph/construct.xml +++ phpdoc/en/reference/ming/swfmorph/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmorph.construct"> <refnamediv> <refname>SWFMorph->__construct()</refname> <refpurpose>Creates a new SWFMorph object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMorph</classname></ooclass> <methodsynopsis> <type>SWFMorph</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates a new <classname>SWFMorph</classname> object. </para> <para> Also called a "shape tween". This thing lets you make those tacky twisting things that make your computer choke. Oh, joy! </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will morph a big red square into a smaller blue black-bordered square. <example> <title><function>swfmorph</function> example</title> <programlisting role="php"> <![CDATA[ <?php $p = new SWFMorph(); $s = $p->getShape1(); $s->setLine(0, 0, 0, 0); /* Note that this is backwards from normal shapes (left instead of right). I have no idea why, but this seems to work.. */ $s->setLeftFill($s->addFill(0xff, 0, 0)); $s->movePenTo(-1000,-1000); $s->drawLine(2000,0); $s->drawLine(0,2000); $s->drawLine(-2000,0); $s->drawLine(0,-2000); $s = $p->getShape2(); $s->setLine(60,0,0,0); $s->setLeftFill($s->addFill(0, 0, 0xff)); $s->movePenTo(0,-1000); $s->drawLine(1000,1000); $s->drawLine(-1000,1000); $s->drawLine(-1000,-1000); $s->drawLine(1000,-1000); $m = new SWFMovie(); $m->setDimension(3000,2000); $m->setBackground(0xff, 0xff, 0xff); $i = $m->add($p); $i->moveTo(1500,1000); for ($r=0.0; $r<=1.0; $r+=0.1) { $i->setRatio($r); $m->nextFrame(); } 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/en/reference/ming/swfmorph/getshape1.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmorph/getshape1.xml +++ phpdoc/en/reference/ming/swfmorph/getshape1.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmorph.getshape1"> <refnamediv> <refname>SWFMorph->getShape1()</refname> <refpurpose>Gets a handle to the starting shape</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMorph</classname></ooclass> <methodsynopsis> <type>SWFShape</type><methodname>getShape1</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Gets the morph's starting shape. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns a <xref linkend="ming.swfshape" /> object. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmorph.getshape2" /></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/en/reference/ming/swfmorph/getshape2.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmorph/getshape2.xml +++ phpdoc/en/reference/ming/swfmorph/getshape2.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmorph.getshape2"> <refnamediv> <refname>SWFMorph->getShape2()</refname> <refpurpose>Gets a handle to the ending shape</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMorph</classname></ooclass> <methodsynopsis> <type>SWFShape</type><methodname>getShape2</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Gets the morph's ending shape. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Returns a <xref linkend="ming.swfshape" /> object. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmorph.getshape1" /></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/en/reference/ming/swfmovie/add.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/add.xml +++ phpdoc/en/reference/ming/swfmovie/add.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.add"> <refnamediv> <refname>SWFMovie->add()</refname> <refpurpose>Adds any type of data to a movie</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>mixed</type><methodname>add</methodname> <methodparam><type>object</type><parameter>instance</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Adds an SWF object <parameter>instance</parameter> to the current movie. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>instance</parameter></term> <listitem> <para> Any type of object instance, like <xref linkend="ming.swfshape" />, <xref linkend="ming.swftext" />, <xref linkend="ming.swffont" />. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> For displayable types (shape, text, button, sprite), this returns an <xref linkend="ming.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. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.remove" /></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/en/reference/ming/swfmovie/addexport.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/addexport.xml +++ phpdoc/en/reference/ming/swfmovie/addexport.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.addexport"> <refnamediv> <refname>SWFMovie->addExport()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addExport</methodname> <methodparam><type>SWFCharacter</type><parameter>char</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>char</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfmovie/addfont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/addfont.xml +++ phpdoc/en/reference/ming/swfmovie/addfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.addfont"> <refnamediv> <refname>SWFMovie->addFont()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFFontChar</classname></ooclass> <methodsynopsis> <type>mixed</type><methodname>addFont</methodname> <methodparam><type>SWFFont</type><parameter>font</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>font</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfmovie/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/construct.xml +++ phpdoc/en/reference/ming/swfmovie/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.construct"> <refnamediv> <refname>SWFMovie->__construct()</refname> <refpurpose>Creates a new movie object, representing an SWF version 4 movie</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFMovie</type><methodname>__construct</methodname> <methodparam><type>int</type><parameter>version</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates a new movie object, representing an SWF movie. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>version</parameter></term> <listitem> <para> The desired SWF version. Default is 4. </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/en/reference/ming/swfmovie/importchar.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/importchar.xml +++ phpdoc/en/reference/ming/swfmovie/importchar.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.importchar"> <refnamediv> <refname>SWFMovie->importChar()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFSprite</type><methodname>importChar</methodname> <methodparam><type>string</type><parameter>libswf</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>libswf</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.importfont" /></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/en/reference/ming/swfmovie/importfont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/importfont.xml +++ phpdoc/en/reference/ming/swfmovie/importfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.importfont"> <refnamediv> <refname>SWFMovie->importFont()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFFontChar</type><methodname>importFont</methodname> <methodparam><type>string</type><parameter>libswf</parameter></methodparam> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>libswf</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>name</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.importchar" /></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/en/reference/ming/swfmovie/labelframe.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/labelframe.xml +++ phpdoc/en/reference/ming/swfmovie/labelframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.labelframe"> <refnamediv> <refname>SWFMovie->labelFrame()</refname> <refpurpose>Labels a frame</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>labelFrame</methodname> <methodparam><type>string</type><parameter>label</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>label</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfmovie/nextframe.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/nextframe.xml +++ phpdoc/en/reference/ming/swfmovie/nextframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.nextframe"> <refnamediv> <refname>SWFMovie->nextFrame()</refname> <refpurpose>Moves to the next frame of the animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>nextFrame</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Moves to the next frame of the animation. </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/en/reference/ming/swfmovie/output.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/output.xml +++ phpdoc/en/reference/ming/swfmovie/output.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.output"> <refnamediv> <refname>SWFMovie->output()</refname> <refpurpose>Dumps your lovingly prepared movie out</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>int</type><methodname>output</methodname> <methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Dumps the <classname>SWFMovie</classname>. </para> <para> Don't forget to send the <literal>Content-Type</literal> HTTP header file before using this function, in order to display the movie in a browser. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>compression</parameter></term> <listitem> <para> The compression level can be a value between 0 and 9, defining the SWF compression similar to gzip compression. </para> <para> This parameter is only available as of Flash MX (6). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Return the number of bytes written or &false; on error. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Displaying your $movie in a browser</title> <programlisting role="php"> <![CDATA[ <?php header('Content-type: application/x-shockwave-flash'); $movie->output(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.save" /></member> <member><xref linkend="function.swfmovie.savetofile" /></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/en/reference/ming/swfmovie/remove.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/remove.xml +++ phpdoc/en/reference/ming/swfmovie/remove.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.remove"> <refnamediv> <refname>SWFMovie->remove()</refname> <refpurpose>Removes the object instance from the display list</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>remove</methodname> <methodparam><type>object</type><parameter>instance</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Removes the given object <parameter>instance</parameter> from the display list. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.add" /></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/en/reference/ming/swfmovie/save.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/save.xml +++ phpdoc/en/reference/ming/swfmovie/save.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.save"> <refnamediv> <refname>SWFMovie->save()</refname> <refpurpose>Saves the SWF movie in a file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>int</type><methodname>save</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Saves the SWF movie to the specified <parameter>filename</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> The path to the saved SWF document. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>compression</parameter></term> <listitem> <para> The compression level can be a value between 0 and 9, defining the SWF compression similar to gzip compression. </para> <para> This parameter is only available as of Flash MX (6). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Return the number of bytes written or &false; on error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.output" /></member> <member><xref linkend="function.swfmovie.savetofile" /></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/en/reference/ming/swfmovie/savetofile.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/savetofile.xml +++ phpdoc/en/reference/ming/swfmovie/savetofile.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.savetofile"> <refnamediv> <refname>SWFMovie->saveToFile()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>int</type><methodname>saveToFile</methodname> <methodparam><type>stream</type><parameter>x</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>compression</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>X</parameter></term> <listitem> <para> </para> </listitem> </varlistentry> <varlistentry> <term><parameter>compression</parameter></term> <listitem> <para> The compression level can be a value between 0 and 9, defining the SWF compression similar to gzip compression. </para> <para> This parameter is only available as of Flash MX (6). </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> Return the number of bytes written or &false; on error. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.output" /></member> <member><xref linkend="function.swfmovie.save" /></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/en/reference/ming/swfmovie/setbackground.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/setbackground.xml +++ phpdoc/en/reference/ming/swfmovie/setbackground.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.setbackground"> <refnamediv> <refname>SWFMovie->setbackground()</refname> <refpurpose>Sets the background color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setbackground</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the background color. </para> <para> Why is there no rgba version? Think about it, you might want to let the HTML background show through. There's a way to do that, but it only works on IE4. Search the <ulink url="&url.macromedia;">&url.macromedia;</ulink> site for details. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> These parameters are integers between 0 and 255 or hexadecimals between <literal>0x00</literal> and <literal>0xFF</literal>: <variablelist> <varlistentry> <term><parameter>red</parameter></term> <listitem> <para> Value of red component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>green</parameter></term> <listitem> <para> Value of green component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>blue</parameter></term> <listitem> <para> Value of blue component </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/en/reference/ming/swfmovie/setdimension.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/setdimension.xml +++ phpdoc/en/reference/ming/swfmovie/setdimension.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <!-- splitted from ./en/functions/ming.xml, last change in rev 1.24 --> <refentry id="function.swfmovie.setdimension"> <refnamediv> <refname>SWFMovie->setDimension()</refname> <refpurpose>Sets the movie's width and height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setDimension</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the movie's dimension to the specified <parameter>width</parameter> and <parameter>height</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>width</parameter></term> <listitem> <para> The movie width. </para> </listitem> </varlistentry> <varlistentry> <term><parameter>height</parameter></term> <listitem> <para> The movie height. </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/en/reference/ming/swfmovie/setframes.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/setframes.xml +++ phpdoc/en/reference/ming/swfmovie/setframes.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.setframes"> <refnamediv> <refname>SWFMovie->setFrames()</refname> <refpurpose>Sets the total number of frames in the animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setFrames</methodname> <methodparam><type>int</type><parameter>number</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the total number of frames in the animation to the given <parameter>number</parameter>. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>number</parameter></term> <listitem> <para> The number of frames. </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/en/reference/ming/swfmovie/setrate.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/setrate.xml +++ phpdoc/en/reference/ming/swfmovie/setrate.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.setrate"> <refnamediv> <refname>SWFMovie->setRate()</refname> <refpurpose>Sets the animation's frame rate</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRate</methodname> <methodparam><type>int</type><parameter>rate</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Sets the frame rate to the specified <parameter>rate</parameter>. </para> <para> Animation will slow down if the player can't render frames fast enough- unless there's a streaming sound, in which case display frames are sacrificed to keep sound from skipping. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>rate</parameter></term> <listitem> <para> The frame rate, in frame per seconds. </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/en/reference/ming/swfmovie/startsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/startsound.xml +++ phpdoc/en/reference/ming/swfmovie/startsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.startsound"> <refnamediv> <refname>SWFMovie->startSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>SWFSoundInstance</type><methodname>startSound</methodname> <methodparam><type>SWFSound</type><parameter>sound</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>sound</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.stopsound" /></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/en/reference/ming/swfmovie/stopsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/stopsound.xml +++ phpdoc/en/reference/ming/swfmovie/stopsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.stopsound"> <refnamediv> <refname>SWFMovie->stopSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>stopSound</methodname> <methodparam><type>SWFSound</type><parameter>sound</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfmovie.startsound" /></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/en/reference/ming/swfmovie/streammp3.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/streammp3.xml +++ phpdoc/en/reference/ming/swfmovie/streammp3.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.streammp3"> <refnamediv> <refname>SWFMovie->streamMP3()</refname> <refpurpose>Streams a MP3 file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>streamMP3</methodname> <methodparam><type>mixed</type><parameter>mp3file</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Streams the given MP3 file <parameter>mp3file</parameter>. </para> <para> This method is not very robust in dealing with oddities (can skip over an initial ID3 tag, but that's about it). </para> <para> Note that the movie isn't smart enough to put enough frames in to contain the entire mp3 stream- you'll have to add (length of song * frames per second) frames to get the entire stream in. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>mp3file</parameter></term> <listitem> <para> Can be a file pointer returned by <function>fopen</function> or the MP3 data, as a binary string. </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> <example> <title>Streaming example</title> <programlisting role="php"> <![CDATA[ <?php $m = new SWFMovie(); $m->setRate(12.0); $m->streamMp3(file_get_contents("distortobass.mp3")); // use your own MP3 // The file is 11.85 seconds at 12.0 fps = 142 frames $m->setFrames(142); 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/en/reference/ming/swfmovie/writeexports.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfmovie/writeexports.xml +++ phpdoc/en/reference/ming/swfmovie/writeexports.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfmovie.writeexports"> <refnamediv> <refname>SWFMovie->writeExports()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFMovie</classname></ooclass> <methodsynopsis> <type>void</type><methodname>writeExports</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </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/en/reference/ming/swfprebuiltclip/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfprebuiltclip/construct.xml +++ phpdoc/en/reference/ming/swfprebuiltclip/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfprebuiltclip.construct"> <refnamediv> <refname>SWFPrebuiltClip->__construct()</refname> <refpurpose>Returns a SWFPrebuiltClip object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFPrebuiltClip</classname></ooclass> <methodsynopsis> <type>SWFPrebuiltClip</type><methodname>__construct</methodname> <methodparam choice="opt"><type>string</type><parameter>file</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>file</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfshape/addfill.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/addfill.xml +++ phpdoc/en/reference/ming/swfshape/addfill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.addfill"> <refnamediv> <refname>SWFShape->addFill()</refname> <refpurpose>Adds a solid fill to the shape</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> <methodparam><type>SWFBitmap</type><parameter>bitmap</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>SWFFill</type><methodname>addFill</methodname> <methodparam><type>SWFGradient</type><parameter>gradient</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>SWFShape->addFill</function> adds a solid fill to the shape's list of fill styles. <function>SWFShape->addFill</function> accepts three different types of arguments. </para> <para> <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter> is a color (RGB mode). Last parameter <parameter>a</parameter> is optional. </para> <para> The <parameter>bitmap</parameter> argument is an <function>SWFBitmap</function> object. The <parameter>flags</parameter> argument can be one of the following values: SWFFILL_CLIPPED_BITMAP, SWFFILL_TILED_BITMAP, SWFFILL_LINEAR_GRADIENT or SWFFILL_RADIAL_GRADIENT. Default is SWFFILL_TILED_BITMAP for SWFBitmap and SWFFILL_LINEAR_GRADIENT for SWFGradient. </para> <para> The <parameter>gradient</parameter> argument is an <function>SWFGradient</function> object. The flags argument can be one of the following values : SWFFILL_RADIAL_GRADIENT or SWFFILL_LINEAR_GRADIENT. Default is SWFFILL_LINEAR_GRADIENT. I'm sure about this one. Really. </para> <para> <function>SWFShape->addFill</function> returns an <function>SWFFill</function> object for use with the <function>SWFShape->setLeftFill</function> and <function>SWFShape->setRightFill</function> functions described below. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will draw a frame on a bitmap. Ah, here's another buglet in the flash player- it doesn't seem to care about the second shape's bitmap's transformation in a morph. According to spec, the bitmap should stretch along with the shape in this example.. <example> <title><function>SWFShape->addFill</function> example</title> <programlisting role="php"> <![CDATA[ <?php $p = new SWFMorph(); $b = new SWFBitmap(file_get_contents("alphafill.jpg")); // use your own bitmap $width = $b->getWidth(); $height = $b->getHeight(); $s = $p->getShape1(); $f = $s->addFill($b, SWFFILL_TILED_BITMAP); $f->moveTo(-$width/2, -$height/4); $f->scaleTo(1.0, 0.5); $s->setLeftFill($f); $s->movePenTo(-$width/2, -$height/4); $s->drawLine($width, 0); $s->drawLine(0, $height/2); $s->drawLine(-$width, 0); $s->drawLine(0, -$height/2); $s = $p->getShape2(); $f = $s->addFill($b, SWFFILL_TILED_BITMAP); // these two have no effect! $f->moveTo(-$width/4, -$height/2); $f->scaleTo(0.5, 1.0); $s->setLeftFill($f); $s->movePenTo(-$width/4, -$height/2); $s->drawLine($width/2, 0); $s->drawLine(0, $height); $s->drawLine(-$width/2, 0); $s->drawLine(0, -$height); $m = new SWFMovie(); $m->setDimension($width, $height); $i = $m->add($p); $i->moveTo($width/2, $height/2); for ($n=0; $n<1.001; $n+=0.03) { $i->setRatio($n); $m->nextFrame(); } header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.setleftfill" /></member> <member><xref linkend="function.swfshape.setrightfill" /></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/en/reference/ming/swfshape/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/construct.xml +++ phpdoc/en/reference/ming/swfshape/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.construct"> <refnamediv> <refname>SWFShape->__construct()</refname> <refpurpose>Creates a new shape object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>SWFShape</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Created a new <classname>SWFShape</classname> object. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will draw a big red elliptic quadrant. <example> <title><function>swfshape</function> example</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $s->setLine(40, 0x7f, 0, 0); $s->setRightFill($s->addFill(0xff, 0, 0)); $s->movePenTo(200, 200); $s->drawLineTo(6200, 200); $s->drawLineTo(6200, 4600); $s->drawCurveTo(200, 4600, 200, 200); $m = new SWFMovie(); $m->setDimension(6400, 4800); $m->setRate(12.0); $m->add($s); $m->nextFrame(); 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/en/reference/ming/swfshape/drawarc.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawarc.xml +++ phpdoc/en/reference/ming/swfshape/drawarc.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawarc"> <refnamediv> <refname>SWFShape->drawArc()</refname> <refpurpose>Draws an arc of radius r centered at the current location, from angle startAngle to angle endAngle measured clockwise from 12 o'clock</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawArc</methodname> <methodparam><type>float</type><parameter>r</parameter></methodparam> <methodparam><type>float</type><parameter>startAngle</parameter></methodparam> <methodparam><type>float</type><parameter>endAngle</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>r</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>startAngle</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>endAngle</parameter></term> <listitem> <para> Its description </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.swfshape.drawcircle" /></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/en/reference/ming/swfshape/drawcircle.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcircle.xml +++ phpdoc/en/reference/ming/swfshape/drawcircle.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcircle"> <refnamediv> <refname>SWFShape->drawCircle()</refname> <refpurpose>Draws a circle of radius r centered at the current location, in a counter-clockwise fashion</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawCircle</methodname> <methodparam><type>float</type><parameter>r</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>r</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfshape/drawcubic.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcubic.xml +++ phpdoc/en/reference/ming/swfshape/drawcubic.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcubic"> <refnamediv> <refname>SWFShape->drawCubic()</refname> <refpurpose>Draws a cubic bezier curve using the current position and the three given points as control points</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCubic</methodname> <methodparam><type>float</type><parameter>bx</parameter></methodparam> <methodparam><type>float</type><parameter>by</parameter></methodparam> <methodparam><type>float</type><parameter>cx</parameter></methodparam> <methodparam><type>float</type><parameter>cy</parameter></methodparam> <methodparam><type>float</type><parameter>dx</parameter></methodparam> <methodparam><type>float</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>bx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>by</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>cx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>cy</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dy</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcubicto" /></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/en/reference/ming/swfshape/drawcubicto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcubicto.xml +++ phpdoc/en/reference/ming/swfshape/drawcubicto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcubicto"> <refnamediv> <refname>SWFShape->drawCubicTo()</refname> <refpurpose>Draws a cubic bezier curve using the current position and the three given points as control points</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCubicTo</methodname> <methodparam><type>float</type><parameter>bx</parameter></methodparam> <methodparam><type>float</type><parameter>by</parameter></methodparam> <methodparam><type>float</type><parameter>cx</parameter></methodparam> <methodparam><type>float</type><parameter>cy</parameter></methodparam> <methodparam><type>float</type><parameter>dx</parameter></methodparam> <methodparam><type>float</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>bx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>by</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>cx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>cy</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dx</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>dy</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcubic" /></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/en/reference/ming/swfshape/drawcurve.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcurve.xml +++ phpdoc/en/reference/ming/swfshape/drawcurve.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcurve"> <refnamediv> <refname>SWFShape->drawCurve()</refname> <refpurpose>Draws a curve (relative)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCurve</methodname> <methodparam><type>int</type><parameter>controldx</parameter></methodparam> <methodparam><type>int</type><parameter>controldy</parameter></methodparam> <methodparam><type>int</type><parameter>anchordx</parameter></methodparam> <methodparam><type>int</type><parameter>anchordy</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>targetdx</parameter></methodparam> <methodparam><type>int</type><parameter>targetdy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->drawcurve</function> draws a quadratic curve (using the current line style,set by <function>swfshape->setline</function>) from the current pen position to the relative position (<parameter>anchorx</parameter>,<parameter>anchory</parameter>) using relative control point (<parameter>controlx</parameter>,<parameter>controly</parameter>). That is, head towards the control point, then smoothly turn to the anchor point. </simpara> <simpara> With 6 parameters, it draws a cubic bezier to point (x+<parameter>targetdx</parameter>, x+<parameter>targetdy</parameter>) with control points (x+<parameter>controldx</parameter>, y+<parameter>controldy</parameter>) and (x+<parameter>anchordx</parameter>, y+<parameter>anchordy</parameter>). </simpara> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcurve" /></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/en/reference/ming/swfshape/drawcurveto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawcurveto.xml +++ phpdoc/en/reference/ming/swfshape/drawcurveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawcurveto"> <refnamediv> <refname>SWFShape->drawCurveTo()</refname> <refpurpose>Draws a curve</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>int</type><methodname>drawCurveTo</methodname> <methodparam><type>int</type><parameter>controlx</parameter></methodparam> <methodparam><type>int</type><parameter>controly</parameter></methodparam> <methodparam><type>int</type><parameter>anchorx</parameter></methodparam> <methodparam><type>int</type><parameter>anchory</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>targetx</parameter></methodparam> <methodparam><type>int</type><parameter>targety</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->drawcurveto</function> draws a quadratic curve (using the current line style, set by <function>swfshape->setline</function>) from the current pen position to (<parameter>anchorx</parameter>,<parameter>anchory</parameter>) using (<parameter>controlx</parameter>,<parameter>controly</parameter>) as a control point. That is, head towards the control point, then smoothly turn to the anchor point. </simpara> <simpara> With 6 parameters, it draws a cubic bezier to point (<parameter>targetx</parameter>, <parameter>targety</parameter>) with control points (<parameter>controlx</parameter>, <parameter>controly</parameter>) and (<parameter>anchorx</parameter>, <parameter>anchory</parameter>). </simpara> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawcurveto" /></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/en/reference/ming/swfshape/drawglyph.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawglyph.xml +++ phpdoc/en/reference/ming/swfshape/drawglyph.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawglyph"> <refnamediv> <refname>SWFShape->drawGlyph()</refname> <refpurpose>Draws the first character in the given string into the shape using the glyph definition from the given font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawGlyph</methodname> <methodparam><type>SWFFont</type><parameter>font</parameter></methodparam> <methodparam><type>string</type><parameter>character</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>size</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>font</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>character</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>size</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfshape/drawline.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawline.xml +++ phpdoc/en/reference/ming/swfshape/drawline.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawline"> <refnamediv> <refname>SWFShape->drawLine()</refname> <refpurpose>Draws a line (relative)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawLine</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->drawline</function> draws a line (using the current line style set by <function>swfshape->setline</function>) from the current pen position to displacement (<parameter>dx</parameter>,<parameter>dy</parameter>). </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawlineto" /></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/en/reference/ming/swfshape/drawlineto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/drawlineto.xml +++ phpdoc/en/reference/ming/swfshape/drawlineto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.drawlineto"> <refnamediv> <refname>SWFShape->drawLineTo()</refname> <refpurpose>Draws a line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>drawLineTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->setrightfill</function> draws a line (using the current line style, set by <function>swfshape->setline</function>) from the current pen position to point (<parameter>x</parameter>,<parameter>y</parameter>) in the shape's coordinate space. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.drawline" /></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/en/reference/ming/swfshape/movepen.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/movepen.xml +++ phpdoc/en/reference/ming/swfshape/movepen.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.movepen"> <refnamediv> <refname>SWFShape->movePen()</refname> <refpurpose>Moves the shape's pen (relative)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>movePen</methodname> <methodparam><type>int</type><parameter>dx</parameter></methodparam> <methodparam><type>int</type><parameter>dy</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->setrightfill</function> move the shape's pen from coordinates (current x,current y) to (current x + <parameter>dx</parameter>, current y + <parameter>dy</parameter>) in the shape's coordinate space. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.movepento" /></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/en/reference/ming/swfshape/movepento.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/movepento.xml +++ phpdoc/en/reference/ming/swfshape/movepento.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.movepento"> <refnamediv> <refname>SWFShape->movePenTo()</refname> <refpurpose>Moves the shape's pen</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>movePenTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> <function>swfshape->setrightfill</function> move the shape's pen to (<parameter>x</parameter>,<parameter>y</parameter>) in the shape's coordinate space. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.movepen" /></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/en/reference/ming/swfshape/setleftfill.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/setleftfill.xml +++ phpdoc/en/reference/ming/swfshape/setleftfill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.setleftfill"> <refnamediv> <refname>SWFShape->setLeftFill()</refname> <refpurpose>Sets left rasterizing color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLeftFill</methodname> <methodparam><type>SWFGradient</type><parameter>fill</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>setLeftFill</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> What this nonsense is about is, every edge segment borders at most two fills. When rasterizing the object, it's pretty handy to know what those fills are ahead of time, so the swf format requires these to be specified. </para> <para> <function>swfshape->setleftfill</function> sets the fill on the left side of the edge- that is, on the interior if you're defining the outline of the shape in a counter-clockwise fashion. The fill object is an SWFFill object returned from one of the addFill functions above. </para> <para> This seems to be reversed when you're defining a shape in a morph, though. If your browser crashes, just try setting the fill on the other side. </para> <simpara> Shortcut for <literal>swfshape->setleftfill($s->addfill($r, $g, $b [, $a]));</literal>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.setrightfill" /></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/en/reference/ming/swfshape/setline.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/setline.xml +++ phpdoc/en/reference/ming/swfshape/setline.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.setline"> <refnamediv> <refname>SWFShape->setLine()</refname> <refpurpose>Sets the shape's line style</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLine</methodname> <methodparam><type>SWFShape</type><parameter>shape</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>setLine</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfshape->setline</function> sets the shape's line style. <parameter>width</parameter> is the line's width. If <parameter>width</parameter> is 0, the line's style is removed (then, all other arguments are ignored). If <parameter>width</parameter> > 0, then line's color is set to <parameter>red</parameter>, <parameter>green</parameter>, <parameter>blue</parameter>. Last parameter <parameter>a</parameter> is optional. </para> <para> You must declare all line styles before you use them (see example). </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will draw a big "!#%*@", in funny colors and gracious style. <example> <title><function>swfshape->setline</function> example</title> <programlisting role="php"> <![CDATA[ <?php $s = new SWFShape(); $f1 = $s->addFill(0xff, 0, 0); $f2 = $s->addFill(0xff, 0x7f, 0); $f3 = $s->addFill(0xff, 0xff, 0); $f4 = $s->addFill(0, 0xff, 0); $f5 = $s->addFill(0, 0, 0xff); // bug: have to declare all line styles before you use them $s->setLine(40, 0x7f, 0, 0); $s->setLine(40, 0x7f, 0x3f, 0); $s->setLine(40, 0x7f, 0x7f, 0); $s->setLine(40, 0, 0x7f, 0); $s->setLine(40, 0, 0, 0x7f); $f = new SWFFont('Techno.fdb'); $s->setRightFill($f1); $s->setLine(40, 0x7f, 0, 0); $s->drawGlyph($f, '!'); $s->movePen($f->getWidth('!'), 0); $s->setRightFill($f2); $s->setLine(40, 0x7f, 0x3f, 0); $s->drawGlyph($f, '#'); $s->movePen($f->getWidth('#'), 0); $s->setRightFill($f3); $s->setLine(40, 0x7f, 0x7f, 0); $s->drawGlyph($f, '%'); $s->movePen($f->getWidth('%'), 0); $s->setRightFill($f4); $s->setLine(40, 0, 0x7f, 0); $s->drawGlyph($f, '*'); $s->movePen($f->getWidth('*'), 0); $s->setRightFill($f5); $s->setLine(40, 0, 0, 0x7f); $s->drawGlyph($f, '@'); $m = new SWFMovie(); $m->setDimension(3000,2000); $m->setRate(12.0); $i = $m->add($s); $i->moveTo(1500-$f->getWidth("!#%*@")/2, 1000+$f->getAscent()/2); header('Content-type: application/x-shockwave-flash'); $m->output(); ?> ]]> </programlisting> </example> </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/en/reference/ming/swfshape/setrightfill.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfshape/setrightfill.xml +++ phpdoc/en/reference/ming/swfshape/setrightfill.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfshape.setrightfill"> <refnamediv> <refname>SWFShape->setRightFill()</refname> <refpurpose>Sets right rasterizing color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFShape</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRightFill</methodname> <methodparam><type>SWFGradient</type><parameter>fill</parameter></methodparam> </methodsynopsis> <methodsynopsis> <type>void</type><methodname>setRightFill</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <simpara> Shortcut for <literal>swfshape->setrightfill($s->addfill($r, $g, $b [, $a]));</literal>. </simpara> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfshape.setleftfill" /></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/en/reference/ming/swfsound/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsound/construct.xml +++ phpdoc/en/reference/ming/swfsound/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsound.construct"> <refnamediv> <refname>SWFSound</refname> <refpurpose>Returns a new SWFSound object from given file</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSound</classname></ooclass> <methodsynopsis> <type>SWFSound</type><methodname>__construct</methodname> <methodparam><type>string</type><parameter>filename</parameter></methodparam> <methodparam><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>filename</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> <varlistentry> <term><parameter>flags</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfsoundinstance/loopcount.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsoundinstance/loopcount.xml +++ phpdoc/en/reference/ming/swfsoundinstance/loopcount.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsoundinstance.loopcount"> <refnamediv> <refname>SWFSoundInstance->loopCount()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSoundInstance</classname></ooclass> <methodsynopsis> <type>void</type><methodname>loopCount</methodname> <methodparam><type>int</type><parameter>point</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>point</parameter></term> <listitem> <para> </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.swfsoundinstance.loopoutpoint" /></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/en/reference/ming/swfsoundinstance/loopinpoint.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsoundinstance/loopinpoint.xml +++ phpdoc/en/reference/ming/swfsoundinstance/loopinpoint.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsoundinstance.loopinpoint"> <refnamediv> <refname>SWFSoundInstance->loopInPoint()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSoundInstance</classname></ooclass> <methodsynopsis> <type>void</type><methodname>loopInPoint</methodname> <methodparam><type>int</type><parameter>point</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>point</parameter></term> <listitem> <para> </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.swfsoundinstance.loopoutpoint" /></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/en/reference/ming/swfsoundinstance/loopoutpoint.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsoundinstance/loopoutpoint.xml +++ phpdoc/en/reference/ming/swfsoundinstance/loopoutpoint.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsoundinstance.loopoutpoint"> <refnamediv> <refname>SWFSoundInstance->loopOutPoint()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSoundInstance</classname></ooclass> <methodsynopsis> <type>void</type><methodname>loopOutPoint</methodname> <methodparam><type>int</type><parameter>point</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>point</parameter></term> <listitem> <para> </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.swfsoundinstance.loopinpoint" /></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/en/reference/ming/swfsoundinstance/nomultiple.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsoundinstance/nomultiple.xml +++ phpdoc/en/reference/ming/swfsoundinstance/nomultiple.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsoundinstance.nomultiple"> <refnamediv> <refname>SWFSoundInstance->noMultiple()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSoundInstance</classname></ooclass> <methodsynopsis> <type>void</type><methodname>noMultiple</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </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/en/reference/ming/swfsprite/add.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/add.xml +++ phpdoc/en/reference/ming/swfsprite/add.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.add"> <refnamediv> <refname>SWFSprite->add()</refname> <refpurpose>Adds an object to a sprite</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>add</methodname> <methodparam><type>object</type><parameter>object</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfsprite->add</function> adds a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function>, a <function>swfaction</function> or a <function>swfsprite</function> object. </para> <para> For displayable types (<function>swfshape</function>, <function>swfbutton</function>, <function>swftext</function>, <function>swfaction</function> or <function>swfsprite</function>), this returns a handle to the object in a display list. </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/en/reference/ming/swfsprite/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/construct.xml +++ phpdoc/en/reference/ming/swfsprite/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.construct"> <refnamediv> <refname>SWFSprite->__construct()</refname> <refpurpose>Creates a movie clip (a sprite)</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>SWFSprite</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates a new <classname>SWFSprite</classname> object. </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/en/reference/ming/swfsprite/labelframe.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/labelframe.xml +++ phpdoc/en/reference/ming/swfsprite/labelframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.labelframe"> <refnamediv> <refname>SWFSprite->labelFrame()</refname> <refpurpose>Labels frame</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>labelFrame</methodname> <methodparam><type>string</type><parameter>label</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>label</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfsprite/nextframe.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/nextframe.xml +++ phpdoc/en/reference/ming/swfsprite/nextframe.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.nextframe"> <refnamediv> <refname>SWFSprite->nextFrame()</refname> <refpurpose>Moves to the next frame of the animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>nextFrame</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfsprite->setframes</function> moves to the next frame of the animation. </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/en/reference/ming/swfsprite/remove.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/remove.xml +++ phpdoc/en/reference/ming/swfsprite/remove.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.remove"> <refnamediv> <refname>SWFSprite->remove()</refname> <refpurpose>Removes an object to a sprite</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>remove</methodname> <methodparam><type>object</type><parameter>object</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfsprite->remove</function> remove a <function>swfshape</function>, a <function>swfbutton</function>, a <function>swftext</function>, a <function>swfaction</function> or a <function>swfsprite</function> object from the sprite. </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/en/reference/ming/swfsprite/setframes.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/setframes.xml +++ phpdoc/en/reference/ming/swfsprite/setframes.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.setframes"> <refnamediv> <refname>SWFSprite->setFrames()</refname> <refpurpose>Sets the total number of frames in the animation</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setFrames</methodname> <methodparam><type>int</type><parameter>number</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swfsprite->setframes</function> sets the total number of frames in the animation to <parameter>numberofframes</parameter>. </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/en/reference/ming/swfsprite/startsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/startsound.xml +++ phpdoc/en/reference/ming/swfsprite/startsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.startsound"> <refnamediv> <refname>SWFSprite->startSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>SWFSoundInstance</type><methodname>startSound</methodname> <methodparam><type>SWFSound</type><parameter>sount</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>sound</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfsprite.stopsound" /></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/en/reference/ming/swfsprite/stopsound.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfsprite/stopsound.xml +++ phpdoc/en/reference/ming/swfsprite/stopsound.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfsprite.stopsound"> <refnamediv> <refname>SWFSprite->stopSound()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFSprite</classname></ooclass> <methodsynopsis> <type>void</type><methodname>stopSound</methodname> <methodparam><type>SWFSound</type><parameter>sount</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swfsprite.startsound" /></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/en/reference/ming/swftext/addstring.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/addstring.xml +++ phpdoc/en/reference/ming/swftext/addstring.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.addstring"> <refnamediv> <refname>SWFText->addString()</refname> <refpurpose>Draws a string</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addString</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->addstring</function> draws the string <parameter>string</parameter> at the current pen (cursor) location. Pen is at the baseline of the text; i.e., ascending text is in the -y direction. </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> &return.void; </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.addutf8string" /></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/en/reference/ming/swftext/addutf8string.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/addutf8string.xml +++ phpdoc/en/reference/ming/swftext/addutf8string.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.addutf8string"> <refnamediv> <refname>SWFText->addUTF8String()</refname> <refpurpose>Writes the given text into this SWFText object at the current pen position, using the current font, height, spacing, and color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addUTF8String</methodname> <methodparam><type>string</type><parameter>text</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>text</parameter></term> <listitem> <para> Its description </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.swftext.addstring" /></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/en/reference/ming/swftext/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/construct.xml +++ phpdoc/en/reference/ming/swftext/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.construct"> <refnamediv> <refname>SWFText->__construct()</refname> <refpurpose>Creates a new SWFText object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>__construct</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Creates a new <classname>SWFText</classname> object, fresh for manipulating. </para> </refsect1> <refsect1 role="examples"> &reftitle.examples; <para> This simple example will draw a big yellow "PHP generates Flash with Ming" text, on white background. <example> <title><function>swftext</function> example</title> <programlisting role="php"> <![CDATA[ <?php $f = new SWFFont("Techno.fdb"); $t = new SWFText(); $t->setFont($f); $t->moveTo(200, 2400); $t->setColor(0xff, 0xff, 0); $t->setHeight(1200); $t->addString("PHP generates Flash with Ming!!"); $m = new SWFMovie(); $m->setDimension(5400, 3600); $m->add($t); 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/en/reference/ming/swftext/getascent.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getascent.xml +++ phpdoc/en/reference/ming/swftext/getascent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getascent"> <refnamediv> <refname>SWFText->getAscent()</refname> <refpurpose>Returns the ascent of the current font at its current size, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getAscent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.getdescent" /></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/en/reference/ming/swftext/getdescent.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getdescent.xml +++ phpdoc/en/reference/ming/swftext/getdescent.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getdescent"> <refnamediv> <refname>SWFText->getDescent()</refname> <refpurpose>Returns the descent of the current font at its current size, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getDescent</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.getascent" /></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/en/reference/ming/swftext/getleading.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getleading.xml +++ phpdoc/en/reference/ming/swftext/getleading.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getleading"> <refnamediv> <refname>SWFText->getLeading()</refname> <refpurpose>Returns the leading of the current font at its current size, or 0 if not available</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getLeading</methodname> <void/> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </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/en/reference/ming/swftext/getutf8width.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getutf8width.xml +++ phpdoc/en/reference/ming/swftext/getutf8width.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getutf8width"> <refnamediv> <refname>SWFText->getUTF8Width()</refname> <refpurpose>calculates the width of the given string in this text objects current font and size</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getUTF8Width</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>string</parameter></term> <listitem> <para> Its description </para> </listitem> </varlistentry> </variablelist> </para> </refsect1> <refsect1 role="returnvalues"> &reftitle.returnvalues; <para> What the function returns, first on success, then on failure. See also the &return.success; entity </para> </refsect1> --> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.getwidth" /></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/en/reference/ming/swftext/getwidth.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/getwidth.xml +++ phpdoc/en/reference/ming/swftext/getwidth.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.getwidth"> <refnamediv> <refname>SWFText->getWidth()</refname> <refpurpose>Computes string's width</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>float</type><methodname>getWidth</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Returns the rendered width of the <parameter>string</parameter> at the text object's current font, scale, and spacing settings. </para> </refsect1> <refsect1 role="seealso"> &reftitle.seealso; <para> <simplelist> <member><xref linkend="function.swftext.getutf8width" /></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/en/reference/ming/swftext/moveto.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/moveto.xml +++ phpdoc/en/reference/ming/swftext/moveto.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.moveto"> <refnamediv> <refname>SWFText->moveTo()</refname> <refpurpose>Moves the pen</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>moveTo</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->moveto</function> moves the pen (or cursor, if that makes more sense) to (<parameter>x</parameter>,<parameter>y</parameter>) in text object's coordinate space. If either is zero, though, value in that dimension stays the same. Annoying, should be fixed. </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/en/reference/ming/swftext/setcolor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/setcolor.xml +++ phpdoc/en/reference/ming/swftext/setcolor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.setcolor"> <refnamediv> <refname>SWFText->setColor()</refname> <refpurpose>Sets the current text color</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setColor</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> Changes the current text color. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> These parameters are integers between 0 and 255 or hexadecimals between <literal>0x00</literal> and <literal>0xFF</literal>: <variablelist> <varlistentry> <term><parameter>red</parameter></term> <listitem> <para> Value of red component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>green</parameter></term> <listitem> <para> Value of green component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>blue</parameter></term> <listitem> <para> Value of blue component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>a</parameter></term> <listitem> <para> Value of alpha component </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/en/reference/ming/swftext/setfont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/setfont.xml +++ phpdoc/en/reference/ming/swftext/setfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.setfont"> <refnamediv> <refname>SWFText->setFont()</refname> <refpurpose>Sets the current font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setFont</methodname> <methodparam><type>string</type><parameter>font</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->setfont</function> sets the current font to <parameter>font</parameter>. </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/en/reference/ming/swftext/setheight.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/setheight.xml +++ phpdoc/en/reference/ming/swftext/setheight.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.setheight"> <refnamediv> <refname>SWFText->setHeight()</refname> <refpurpose>Sets the current font height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setHeight</methodname> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->setheight</function> sets the current font height to <parameter>height</parameter>. Default is 240. </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/en/reference/ming/swftext/setspacing.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftext/setspacing.xml +++ phpdoc/en/reference/ming/swftext/setspacing.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftext.setspacing"> <refnamediv> <refname>SWFText->setSpacing()</refname> <refpurpose>Sets the current font spacing</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFText</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setSpacing</methodname> <methodparam><type>float</type><parameter>spacing</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftext->setspacing</function> sets the current font spacing to <parameter>spacing</parameter><parameter>spacing</parameter>. Default is 1.0. 0 is all of the letters written at the same point. This doesn't really work that well because it inflates the advance across the letter, doesn't add the same amount of spacing between the letters. I should try and explain that better, prolly. Or just fix the damn thing to do constant spacing. This was really just a way to figure out how letter advances work, anyway.. So nyah. </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/en/reference/ming/swftextfield/addchars.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/addchars.xml +++ phpdoc/en/reference/ming/swftextfield/addchars.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.addchars"> <refnamediv> <refname>SWFTextField->addChars()</refname> <refpurpose>adds characters to a font that will be available within a textfield</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addChars</methodname> <methodparam><type>string</type><parameter>chars</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>chars</parameter></term> <listitem> <para> Its description </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.swftextfield.addstring" /></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/en/reference/ming/swftextfield/addstring.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/addstring.xml +++ phpdoc/en/reference/ming/swftextfield/addstring.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.addstring"> <refnamediv> <refname>SWFTextField->addString()</refname> <refpurpose>Concatenates the given string to the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>addString</methodname> <methodparam><type>string</type><parameter>string</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setname</function> concatenates the string <parameter>string</parameter> to the text field. </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/en/reference/ming/swftextfield/align.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/align.xml +++ phpdoc/en/reference/ming/swftextfield/align.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.align"> <refnamediv> <refname>SWFTextField->align()</refname> <refpurpose>Sets the text field alignment</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>align</methodname> <methodparam><type>int</type><parameter>alignement</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->align</function> sets the text field alignment to <parameter>alignement</parameter>. Valid values for <parameter>alignement</parameter> are : SWFTEXTFIELD_ALIGN_LEFT, SWFTEXTFIELD_ALIGN_RIGHT, SWFTEXTFIELD_ALIGN_CENTER and SWFTEXTFIELD_ALIGN_JUSTIFY. </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/en/reference/ming/swftextfield/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/construct.xml +++ phpdoc/en/reference/ming/swftextfield/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.construct"> <refnamediv> <refname>SWFTextField->__construct()</refname> <refpurpose>Creates a text field object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>SWFTextField</type><methodname>__construct</methodname> <methodparam choice="opt"><type>int</type><parameter>flags</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield</function> creates a new text field object. Text Fields are less flexible than <function>swftext</function> objects- they can't be rotated, scaled non-proportionally, or skewed, but they can be used as form entries, and they can use browser-defined fonts. </para> <para> The optional flags change the text field's behavior. It has the following possibles values : <itemizedlist> <listitem> <simpara> SWFTEXTFIELD_DRAWBOX draws the outline of the textfield </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_HASLENGTH <!-- TODO: what does this constant mean? --> </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_HTML allows text markup using HTML-tags </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_MULTILINE allows multiple lines </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_NOSELECT makes the field non-selectable </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_PASSWORD obscures the data entry </simpara> </listitem> <listitem> <simpara> SWFTEXTFIELD_WORDWRAP allows text to wrap </simpara> </listitem> </itemizedlist> Flags are combined with the bitwise <link linkend="language.operators.bitwise">OR</link> operation. For example, <programlisting role="php"> <![CDATA[ <?php $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); ?> ]]> </programlisting> creates a totally useless non-editable password field. </para> <simpara> SWFTextField has the following methods : <function>swftextfield->setfont</function>, <function>swftextfield->setbounds</function>, <function>swftextfield->align</function>, <function>swftextfield->setheight</function>, <function>swftextfield->setleftmargin</function>, <function>swftextfield->setrightmargin</function>, <function>swftextfield->setmargins</function>, <function>swftextfield->setindentation</function>, <function>swftextfield->setlinespacing</function>, <function>swftextfield->setcolor</function>, <function>swftextfield->setname</function> and <function>swftextfield->addstring</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 --> http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/swftextfield/setbounds.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setbounds.xml +++ phpdoc/en/reference/ming/swftextfield/setbounds.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setbounds"> <refnamediv> <refname>SWFTextField->setBounds()</refname> <refpurpose>Sets the text field width and height</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setBounds</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setbounds</function> sets the text field width to <parameter>width</parameter> and height to <parameter>height</parameter>. If you don't set the bounds yourself, Ming makes a poor guess at what the bounds are. </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/en/reference/ming/swftextfield/setcolor.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setcolor.xml +++ phpdoc/en/reference/ming/swftextfield/setcolor.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setcolor"> <refnamediv> <refname>SWFTextField->setColor()</refname> <refpurpose>Sets the color of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setColor</methodname> <methodparam><type>int</type><parameter>red</parameter></methodparam> <methodparam><type>int</type><parameter>green</parameter></methodparam> <methodparam><type>int</type><parameter>blue</parameter></methodparam> <methodparam choice="opt"><type>int</type><parameter>a</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setcolor</function> sets the color of the text field. Default is fully opaque black. Color is represented using RGB system. </para> </refsect1> <refsect1 role="parameters"> &reftitle.parameters; <para> These parameters are integers between 0 and 255 or hexadecimals between <literal>0x00</literal> and <literal>0xFF</literal>: <variablelist> <varlistentry> <term><parameter>red</parameter></term> <listitem> <para> Value of red component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>green</parameter></term> <listitem> <para> Value of green component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>blue</parameter></term> <listitem> <para> Value of blue component </para> </listitem> </varlistentry> <varlistentry> <term><parameter>a</parameter></term> <listitem> <para> Value of alpha component </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/en/reference/ming/swftextfield/setfont.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setfont.xml +++ phpdoc/en/reference/ming/swftextfield/setfont.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setfont"> <refnamediv> <refname>SWFTextField->setFont()</refname> <refpurpose>Sets the text field font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setFont</methodname> <methodparam><type>string</type><parameter>font</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setfont</function> sets the text field font to the [browser-defined?] <parameter>font</parameter> font. </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/en/reference/ming/swftextfield/setheight.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setheight.xml +++ phpdoc/en/reference/ming/swftextfield/setheight.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setheight"> <refnamediv> <refname>SWFTextField->setHeight()</refname> <refpurpose>Sets the font height of this text field font</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setHeight</methodname> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setheight</function> sets the font height of this text field font to the given height <parameter>height</parameter>. Default is 240. </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/en/reference/ming/swftextfield/setindentation.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setindentation.xml +++ phpdoc/en/reference/ming/swftextfield/setindentation.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setindentation"> <refnamediv> <refname>SWFTextField->setIndentation()</refname> <refpurpose>Sets the indentation of the first line</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setIndentation</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setindentation</function> sets the indentation of the first line in the text field, to <parameter>width</parameter>. </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/en/reference/ming/swftextfield/setleftmargin.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setleftmargin.xml +++ phpdoc/en/reference/ming/swftextfield/setleftmargin.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setleftmargin"> <refnamediv> <refname>SWFTextField->setLeftMargin()</refname> <refpurpose>Sets the left margin width of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLeftMargin</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setleftmargin</function> sets the left margin width of the text field to <parameter>width</parameter>. Default is 0. </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/en/reference/ming/swftextfield/setlinespacing.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setlinespacing.xml +++ phpdoc/en/reference/ming/swftextfield/setlinespacing.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setlinespacing"> <refnamediv> <refname>SWFTextField->setLineSpacing()</refname> <refpurpose>Sets the line spacing of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setLineSpacing</methodname> <methodparam><type>int</type><parameter>height</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setlinespacing</function> sets the line spacing of the text field to the height of <parameter>height</parameter>. Default is 40. </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/en/reference/ming/swftextfield/setmargins.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setmargins.xml +++ phpdoc/en/reference/ming/swftextfield/setmargins.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setmargins"> <refnamediv> <refname>SWFTextField->setMargins()</refname> <refpurpose>Sets the margins width of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setMargins</methodname> <methodparam><type>int</type><parameter>left</parameter></methodparam> <methodparam><type>int</type><parameter>right</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setmargins</function> set both margins at once, for the man on the go. </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/en/reference/ming/swftextfield/setname.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setname.xml +++ phpdoc/en/reference/ming/swftextfield/setname.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setname"> <refnamediv> <refname>SWFTextField->setName()</refname> <refpurpose>Sets the variable name</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setName</methodname> <methodparam><type>string</type><parameter>name</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setname</function> sets the variable name of this text field to <parameter>name</parameter>, for form posting and action scripting purposes. </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/en/reference/ming/swftextfield/setpadding.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setpadding.xml +++ phpdoc/en/reference/ming/swftextfield/setpadding.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setpadding"> <refnamediv> <refname>SWFTextField->setPadding()</refname> <refpurpose>Sets the padding of this textfield</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setPadding</methodname> <methodparam><type>float</type><parameter>padding</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>padding</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swftextfield/setrightmargin.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swftextfield/setrightmargin.xml +++ phpdoc/en/reference/ming/swftextfield/setrightmargin.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swftextfield.setrightmargin"> <refnamediv> <refname>SWFTextField->setRightMargin()</refname> <refpurpose>Sets the right margin width of the text field</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFTextField</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setRightMargin</methodname> <methodparam><type>int</type><parameter>width</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.experimental.func; <para> <function>swftextfield->setrightmargin</function> sets the right margin width of the text field to <parameter>width</parameter>. Default is 0. </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/en/reference/ming/swfvideostream/construct.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfvideostream/construct.xml +++ phpdoc/en/reference/ming/swfvideostream/construct.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfvideostream.construct"> <refnamediv> <refname>SWFVideoStream->__construct()</refname> <refpurpose>Returns a SWFVideoStream object</refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFVideoStream</classname></ooclass> <methodsynopsis> <type>SWFVideoStream</type><methodname>__construct</methodname> <methodparam choice="opt"><type>string</type><parameter>file</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> <variablelist> <varlistentry> <term><parameter>file</parameter></term> <listitem> <para> Its description </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/en/reference/ming/swfvideostream/getnumframes.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfvideostream/getnumframes.xml +++ phpdoc/en/reference/ming/swfvideostream/getnumframes.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfvideostream.getnumframes"> <refnamediv> <refname>SWFVideoStream->getNumFrames()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFVideoStream</classname></ooclass> <methodsynopsis> <type>int</type><methodname>getNumFrames</methodname> <void/> </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/en/reference/ming/swfvideostream/setdimension.xml?view=markup&rev=1.1 Index: phpdoc/en/reference/ming/swfvideostream/setdimension.xml +++ phpdoc/en/reference/ming/swfvideostream/setdimension.xml <?xml version="1.0" encoding="iso-8859-1"?> <!-- $Revision: 1.1 $ --> <refentry id="function.swfvideostream.setdimension"> <refnamediv> <refname>SWFVideoStream->setDimension()</refname> <refpurpose></refpurpose> </refnamediv> <refsect1 role="description"> &reftitle.description; <classsynopsis> <ooclass><classname>SWFVideoStream</classname></ooclass> <methodsynopsis> <type>void</type><methodname>setDimension</methodname> <methodparam><type>int</type><parameter>x</parameter></methodparam> <methodparam><type>int</type><parameter>y</parameter></methodparam> </methodsynopsis> </classsynopsis> &warn.undocumented.func; </refsect1> <!-- <refsect1 role="parameters"> &reftitle.parameters; <para> </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 -->