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@44723 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
d86ff5feb0
commit
28c698705e
1 changed files with 4 additions and 3 deletions
|
@ -3170,7 +3170,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT);
|
|||
<refentry id="function.swfbutton.addshape">
|
||||
<refnamediv>
|
||||
<refname>SWFbutton->addShape</refname>
|
||||
<refpurpose>Adds an object to a sprite</refpurpose>
|
||||
<refpurpose>Adds a shape to a button</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
|
@ -3183,7 +3183,8 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT);
|
|||
</funcsynopsis>
|
||||
<para>
|
||||
<function>swfbutton->addshape</function> adds the shape
|
||||
<parameter>shape</parameter> to this button. The following flags are valid:
|
||||
<parameter>shape</parameter> to this button. The following
|
||||
<parameter>flags</parameter>' values are valid:
|
||||
SWFBUTTON_UP, SWFBUTTON_OVER, SWFBUTTON_DOWN or SWFBUTTON_HIT.
|
||||
SWFBUTTON_HIT 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"
|
||||
|
@ -3665,7 +3666,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT);
|
|||
</simpara>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
So, setting a sprite's x position is as simple as /box.x = 100;.
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue