mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 17:08:54 +00:00
Correcting while translating.
Some left titles git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@44711 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
78ccfdb53e
commit
d86ff5feb0
1 changed files with 24 additions and 20 deletions
|
@ -1712,7 +1712,7 @@ header('Content-type: application/x-shockwave-flash');
|
|||
<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 @@ header('Content-type: application/x-shockwave-flash');
|
|||
<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 @@ header('Content-type: application/x-shockwave-flash');
|
|||
<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 @@ header('Content-type: application/x-shockwave-flash');
|
|||
</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 @@ $f = newSWFFont("_sans");
|
|||
?>
|
||||
</programlisting>
|
||||
will give you the standard sans-serif font, probably the same as what you'd get
|
||||
with <font name="sans-serif"> in HTML.
|
||||
with <literal><font name="sans-serif"></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 @@ $f = newSWFFont("_sans");
|
|||
</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 @@ $f = newSWFFont("_sans");
|
|||
<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 @@ $f = newSWFFont("_sans");
|
|||
</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">
|
||||
<?php
|
||||
$t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT);
|
||||
|
@ -2635,7 +2638,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT);
|
|||
<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 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT);
|
|||
<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 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT);
|
|||
</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 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT);
|
|||
<funcsynopsis>
|
||||
<funcprototype>
|
||||
<funcdef>void <function>swfsprite->setframes</function></funcdef>
|
||||
<paramdef>string <parameter>numberofframes</parameter></paramdef>
|
||||
<paramdef>integer <parameter>numberofframes</parameter></paramdef>
|
||||
</funcprototype>
|
||||
</funcsynopsis>
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue