cvs: phpdoc /en/reference/ming/functions ming-setscale.xml ming-useswfversion.xml /en/reference/ming/swfvideostream getnumframes.xml setdimension.xml
| From: | Mehdi Achour | Date: | Mon, 31 Dec 2007 01:07:46 +0000 |
| Subject: | cvs: phpdoc /en/reference/ming/functions ming-setscale.xml ming-useswfversion.xml /en/reference/ming/swfvideostream getnumframes.xml setdimension.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-955@lists.php.net to get a copy of this message | ||
didou Mon Dec 31 01:07:46 2007 UTC
Modified files:
/phpdoc/en/reference/ming/functions ming-setscale.xml
ming-useswfversion.xml
/phpdoc/en/reference/ming/swfvideostream getnumframes.xml
setdimension.xml
Log:
Integrate user notes
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-setscale.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/ming/functions/ming-setscale.xml
diff -u phpdoc/en/reference/ming/functions/ming-setscale.xml:1.4
phpdoc/en/reference/ming/functions/ming-setscale.xml:1.5
--- phpdoc/en/reference/ming/functions/ming-setscale.xml:1.4 Wed Jun 20 22:24:56 2007
+++ phpdoc/en/reference/ming/functions/ming-setscale.xml Mon Dec 31 01:07:46 2007
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry xml:id='function.ming-setscale' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ming_setscale</refname>
<refpurpose>
- Set scale
+ Set the global scaling factor.
</refpurpose>
</refnamediv>
<refsect1 role="description">
@@ -14,7 +14,24 @@
<methodparam><type>int</type><parameter>scale</parameter></methodparam>
</methodsynopsis>
<para>
- &warn.undocumented.func;
+ Sets the scale of the output SWF. Inside the SWF file, coordinates are
+ measured in TWIPS, rather than PIXELS. There are 20 TWIPS in 1 pixel.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>scale</parameter></term>
+ <listitem>
+ <para>
+ The scale to be set.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</para>
</refsect1>
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/functions/ming-useswfversion.xml?r1=1.4&r2=1.5&diff_format=u
Index: phpdoc/en/reference/ming/functions/ming-useswfversion.xml
diff -u phpdoc/en/reference/ming/functions/ming-useswfversion.xml:1.4
phpdoc/en/reference/ming/functions/ming-useswfversion.xml:1.5
--- phpdoc/en/reference/ming/functions/ming-useswfversion.xml:1.4 Wed Jun 20 22:24:56 2007
+++ phpdoc/en/reference/ming/functions/ming-useswfversion.xml Mon Dec 31 01:07:46 2007
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.4 $ -->
+<!-- $Revision: 1.5 $ -->
<refentry xml:id='function.ming-useswfversion' xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>ming_useswfversion</refname>
@@ -12,7 +12,24 @@
<methodparam><type>int</type><parameter>version</parameter></methodparam>
</methodsynopsis>
<para>
- &warn.undocumented.func;
+ Sets the SWF version to be used in the movie. This affect the bahaviour
+ of Action Script.
+ </para>
+ </refsect1>
+
+ <refsect1 role="parameters">
+ &reftitle.parameters;
+ <para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>version</parameter></term>
+ <listitem>
+ <para>
+ SWF version to use.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</para>
</refsect1>
@@ -23,6 +40,25 @@
</para>
</refsect1>
+ <refsect1 role="examples">
+ &reftitle.examples;
+ <para>
+ <example>
+ <title><function>ming_useswfversion</function> example</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+
+$movie = new SWFMovie();
+ming_useswfversion(4); // Flash 4
+
+?>
+]]>
+ </programlisting>
+ </example>
+ </para>
+ </refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/swfvideostream/getnumframes.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/ming/swfvideostream/getnumframes.xml
diff -u phpdoc/en/reference/ming/swfvideostream/getnumframes.xml:1.2
phpdoc/en/reference/ming/swfvideostream/getnumframes.xml:1.3
--- phpdoc/en/reference/ming/swfvideostream/getnumframes.xml:1.2 Wed Jun 20 22:24:57 2007
+++ phpdoc/en/reference/ming/swfvideostream/getnumframes.xml Mon Dec 31 01:07:46 2007
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="function.swfvideostream.getnumframes" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>SWFVideoStream->getNumFrames()</refname>
- <refpurpose></refpurpose>
+ <refpurpose>Returns the number of frames in the video</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
@@ -14,10 +14,18 @@
<void/>
</methodsynopsis>
</classsynopsis>
+ <para>
+ This function returns the number of video-frames of a SWFVideoStream.
+ </para>
+ </refsect1>
- &warn.undocumented.func;
-
+ <refsect1 role="returnvalues">
+ &reftitle.returnvalues;
+ <para>
+ Returns the number of frames, as an integer
+ </para>
</refsect1>
+
</refentry>
<!-- Keep this comment at the end of the file
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/ming/swfvideostream/setdimension.xml?r1=1.2&r2=1.3&diff_format=u
Index: phpdoc/en/reference/ming/swfvideostream/setdimension.xml
diff -u phpdoc/en/reference/ming/swfvideostream/setdimension.xml:1.2
phpdoc/en/reference/ming/swfvideostream/setdimension.xml:1.3
--- phpdoc/en/reference/ming/swfvideostream/setdimension.xml:1.2 Wed Jun 20 22:24:57 2007
+++ phpdoc/en/reference/ming/swfvideostream/setdimension.xml Mon Dec 31 01:07:46 2007
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.2 $ -->
+<!-- $Revision: 1.3 $ -->
<refentry xml:id="function.swfvideostream.setdimension" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>SWFVideoStream->setDimension()</refname>
- <refpurpose></refpurpose>
+ <refpurpose>Sets video dimension</refpurpose>
</refnamediv>
<refsect1 role="description">
&reftitle.description;
@@ -15,18 +15,35 @@
<methodparam><type>int</type><parameter>y</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
-
- &warn.undocumented.func;
-
+ <para>
+ Sets the width and height for streamed videos.
+ </para>
</refsect1>
- <!-- <refsect1 role="parameters">
+
+ <refsect1 role="parameters">
&reftitle.parameters;
<para>
+ <variablelist>
+ <varlistentry>
+ <term><parameter>x</parameter></term>
+ <listitem>
+ <para>
+ Width in pixels.
+ </para>
+ </listitem>
+ </varlistentry>
+ <varlistentry>
+ <term><parameter>y</parameter></term>
+ <listitem>
+ <para>
+ Height in pixels.
+ </para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
</para>
</refsect1>
- -->
-
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>