diff --git a/functions/ming.xml b/functions/ming.xml index f79c3a2afd..ad0f442e0c 100755 --- a/functions/ming.xml +++ b/functions/ming.xml @@ -3170,7 +3170,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); SWFbutton->addShape - Adds an object to a sprite + Adds a shape to a button Description @@ -3183,7 +3183,8 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); swfbutton->addshape adds the shape - shape to this button. The following flags are valid: + shape to this button. The following + flags' 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); - 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 /box.x = 100;. 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