From d86ff5feb013925eafe172a3ef9217614c0b8994 Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Mon, 2 Apr 2001 08:16:24 +0000 Subject: [PATCH] Correcting while translating. Some left titles git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@44711 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ming.xml | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/functions/ming.xml b/functions/ming.xml index 9871e2b15f..f79c3a2afd 100755 --- a/functions/ming.xml +++ b/functions/ming.xml @@ -1712,7 +1712,7 @@ header('Content-type: application/x-shockwave-flash'); SWFGradient - Loads a font definition + Creates a gradient object Description @@ -2312,7 +2312,7 @@ header('Content-type: application/x-shockwave-flash'); SWFText->setHeight - Sets the current font heigh + Sets the current font height Description @@ -2358,7 +2358,7 @@ header('Content-type: application/x-shockwave-flash'); SWFText->setColor - Sets the current font heigh + Sets the current font color Description @@ -2459,8 +2459,9 @@ header('Content-type: application/x-shockwave-flash'); - 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 filename 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. FDB ("font definition block") is a very simple wrapper for the SWF DefineFont2 @@ -2479,11 +2480,12 @@ $f = newSWFFont("_sans"); ?> will give you the standard sans-serif font, probably the same as what you'd get - with <font name="sans-serif"> in HTML. + with <font name="sans-serif"> in HTML. - Returns a reference to the font definition, for use in the SWFText setFont method - and the SWFTextField setFont method. + swffont returns a reference to the font + definition, for use in the SWFText->setFont + and the SWFTextField->setFont methods. SWFFont has the following methods : swffont->getwidth. @@ -2505,9 +2507,9 @@ $f = newSWFFont("_sans"); - nom_de_la_fonction returns the string + swffont->getwidth returns the string string'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 SWFText version of this method which uses the text object's scale. @@ -2540,7 +2542,7 @@ $f = newSWFFont("_sans"); - SWFTEXTFIELD_NOEDIT : indicates that the field shouldn't be user-editable + SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable @@ -2569,7 +2571,8 @@ $f = newSWFFont("_sans"); - Flags are combined with the bitwise OR operation. For example, + Flags are combined with the bitwise + OR operation. For example, <?php $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); @@ -2635,7 +2638,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); SWFTextField->align - Sets the text field width and height + Sets the text field alignment Description @@ -2648,7 +2651,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); swftextfield->align sets the text field alignment to alignement. Valid values for - alignement are: SWFTEXTFIELD_ALIGN_LEFT, + alignement are : SWFTEXTFIELD_ALIGN_LEFT, SWFTEXTFIELD_ALIGN_RIGHT, SWFTEXTFIELD_ALIGN_CENTER and SWFTEXTFIELD_ALIGN_JUSTIFY. @@ -2856,14 +2859,15 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); - 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. + 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. - SWFSprite has the following methods : swfsprite->add, + swfsprite has the following methods : + swfsprite->add, swfsprite->remove, swfsprite->nextframe - swfsprite->setframes. + et swfsprite->setframes. This simple example will spin gracefully a big red square. @@ -2969,7 +2973,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); void swfsprite->setframes - string numberofframes + integer numberofframes