cvs: phpdoc /en/functions ming.xml

From: Date: Mon, 02 Apr 2001 08:16:24 +0000
Subject: cvs: phpdoc /en/functions ming.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969334875@lists.php.net to get a copy of this message
dams Mon Apr 2 01:16:24 2001 EDT Modified files: /phpdoc/en/functions ming.xml Log: Correcting while translating. Some left titles Index: phpdoc/en/functions/ming.xml diff -u phpdoc/en/functions/ming.xml:1.6 phpdoc/en/functions/ming.xml:1.7 --- phpdoc/en/functions/ming.xml:1.6 Fri Mar 30 00:16:20 2001 +++ phpdoc/en/functions/ming.xml Mon Apr 2 01:16:24 2001 @@ -1712,7 +1712,7 @@ <refentry id="function.swfgradient"> <refnamediv> <refname>SWFGradient</refname> - <refpurpose>Loads a font definition</refpurpose> + <refpurpose>Creates a gradient object</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -2312,7 +2312,7 @@ <refentry id="function.swftext.setheight"> <refnamediv> <refname>SWFText->setHeight</refname> - <refpurpose>Sets the current font heigh</refpurpose> + <refpurpose>Sets the current font height</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -2358,7 +2358,7 @@ <refentry id="function.swftext.setcolor"> <refnamediv> <refname>SWFText->setColor</refname> - <refpurpose>Sets the current font heigh</refpurpose> + <refpurpose>Sets the current font color</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -2459,8 +2459,9 @@ </funcprototype> </funcsynopsis> <para> - If name 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. + 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 @@ -2479,11 +2480,12 @@ ?&gt; </programlisting> will give you the standard sans-serif font, probably the same as what you'd get - with &lt;font name="sans-serif"&gt; in HTML. + with <literal>&lt;font name="sans-serif"&gt;</literal> in HTML. </para> <para> - Returns a reference to the font definition, for use in the SWFText setFont method - and the SWFTextField setFont method. + <function>swffont</function> returns a reference to the font + definition, for use in the <function>SWFText->setFont</function> + and the <function>SWFTextField->setFont</function> methods. </para> <simpara> SWFFont has the following methods : <function>swffont->getwidth</function>. @@ -2505,9 +2507,9 @@ </funcprototype> </funcsynopsis> <para> - <function>nom_de_la_fonction</function> returns the string + <function>swffont->getwidth</function> returns the string <parameter>string</parameter>'s width, using font's default scaling. - You'll probably want to use the SWFText version of this method which + You'll probably want to use the <function>SWFText</function> version of this method which uses the text object's scale. </para> </refsect1> @@ -2540,7 +2542,7 @@ <itemizedlist> <listitem> <simpara> - SWFTEXTFIELD_NOEDIT : indicates that the field shouldn't be user-editable + SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable </simpara> </listitem> <listitem> @@ -2569,7 +2571,8 @@ </simpara> </listitem> </itemizedlist> - Flags are combined with the bitwise OR operation. For example, + Flags are combined with the bitwise + <link linkend="language.operators.bitwise">OR</link> operation. For example, <programlisting role="php"> &lt;?php $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); @@ -2635,7 +2638,7 @@ <refentry id="function.swftextfield.align"> <refnamediv> <refname>SWFTextField->align</refname> - <refpurpose>Sets the text field width and height</refpurpose> + <refpurpose>Sets the text field alignment</refpurpose> </refnamediv> <refsect1> <title>Description</title> @@ -2648,7 +2651,7 @@ <para> <function>swftextfield->align</function> sets the text field alignment to <parameter>alignement</parameter>. Valid values for - <parameter>alignement</parameter> are: SWFTEXTFIELD_ALIGN_LEFT, + <parameter>alignement</parameter> are : SWFTEXTFIELD_ALIGN_LEFT, SWFTEXTFIELD_ALIGN_RIGHT, SWFTEXTFIELD_ALIGN_CENTER and SWFTEXTFIELD_ALIGN_JUSTIFY. </para> @@ -2856,14 +2859,15 @@ </funcprototype> </funcsynopsis> <para> - SWFSprite are 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. + <function>swfsprite</function> are 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> <simpara> - SWFSprite has the following methods : <function>swfsprite->add</function>, + <function>swfsprite</function> has the following methods : + <function>swfsprite->add</function>, <function>swfsprite->remove</function>, <function>swfsprite->nextframe</function> - <function>swfsprite->setframes</function>. + et <function>swfsprite->setframes</function>. </simpara> <para> This simple example will spin gracefully a big red square. @@ -2969,7 +2973,7 @@ <funcsynopsis> <funcprototype> <funcdef>void <function>swfsprite->setframes</function></funcdef> - <paramdef>string <parameter>numberofframes</parameter></paramdef> + <paramdef>integer <parameter>numberofframes</parameter></paramdef> </funcprototype> </funcsynopsis> <para>

« previous php.doc (#969334875) next »