From 7d338bb9e119e752ba63bf6390e62e311bb9f985 Mon Sep 17 00:00:00 2001 From: irc-html Date: Sun, 20 Jan 2002 00:42:36 +0000 Subject: [PATCH] whitespace correction git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@68153 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/ming.xml | 580 ++++++++++++++++++++++----------------------- 1 file changed, 290 insertions(+), 290 deletions(-) diff --git a/functions/ming.xml b/functions/ming.xml index 0bee1ecb0e..f208e4a4ad 100755 --- a/functions/ming.xml +++ b/functions/ming.xml @@ -1,19 +1,19 @@ - + Ming functions for Flash Ming (flash) - &warn.experimental; + &warn.experimental; Introduction - Ming is an open-source (LGPL) library which allows you to create SWF - ("Flash") format movies. Ming supports almost all of Flash 4's features, - including: shapes, gradients, bitmaps (pngs and jpegs), morphs ("shape - tweens"), text, buttons, actions, sprites ("movie clips"), streaming mp3, - and color transforms--the only thing that's missing is sound events. + Ming is an open-source (LGPL) library which allows you to create SWF + ("Flash") format movies. Ming supports almost all of Flash 4's features, + including: shapes, gradients, bitmaps (pngs and jpegs), morphs ("shape + tweens"), text, buttons, actions, sprites ("movie clips"), streaming mp3, + and color transforms--the only thing that's missing is sound events. Ming is not an acronym. @@ -25,13 +25,13 @@ or the entire frame if not embedded. - Ming offers a number of advantages over the existing PHP/libswf module. - You can use Ming anywhere you can compile the code, whereas libswf is - closed-source and only available for a few platforms, Windows not one of - them. Ming provides some insulation from the mundane details of the SWF - file format, wrapping the movie elements in PHP objects. Also, Ming is - still being maintained; if there's a feature that you want to see, just - let us know &email.ming;. + Ming offers a number of advantages over the existing PHP/libswf module. + You can use Ming anywhere you can compile the code, whereas libswf is + closed-source and only available for a few platforms, Windows not one of + them. Ming provides some insulation from the mundane details of the SWF + file format, wrapping the movie elements in PHP objects. Also, Ming is + still being maintained; if there's a feature that you want to see, just + let us know &email.ming;. Ming was added in PHP 4.0.5. @@ -41,10 +41,10 @@ Installation - To use Ming with PHP, you first need to build and install the Ming - library. Source code and installation instructions are available at the - Ming home page : &url.ming; - along with examples, a small tutorial, and the latest news. + To use Ming with PHP, you first need to build and install the Ming + library. Source code and installation instructions are available at the + Ming home page : &url.ming; + along with examples, a small tutorial, and the latest news. Download the ming archive. Unpack the archive. Go in the @@ -98,71 +98,71 @@ - - swfmovie. + + swfmovie. - + - - swfshape. + + swfshape. - + - - swfdisplayitem. + + swfdisplayitem. - + - - swfgradient. + + swfgradient. - + - - swfbitmap. + + swfbitmap. - + - - swffill. + + swffill. - + - - swfmorph. + + swfmorph. - + - - swftext. + + swftext. - + - - swffont. + + swffont. - + - - swftextfield. + + swftextfield. - + - - swfsprite. + + swfsprite. - + - - swfbutton. + + swfbutton. - + - - swfaction. + + swfaction. - + @@ -266,7 +266,7 @@ - &warn.experimental.func; + &warn.experimental.func; swfmovie creates a new movie object, representing an SWF version 4 movie. @@ -300,7 +300,7 @@ - &warn.experimental.func; + &warn.experimental.func; swfmovie->output dumps your lovingly prepared movie out. In PHP, preceding this with the command @@ -310,7 +310,7 @@ header('Content-type: application/x-shockwave-flash'); ?> ]]> - + convinces the browser to display this as a flash movie. @@ -340,7 +340,7 @@ header('Content-type: application/x-shockwave-flash'); string filename - &warn.experimental.func; + &warn.experimental.func; swfmovie->save saves your movie to the file named filename. @@ -365,7 +365,7 @@ header('Content-type: application/x-shockwave-flash'); ressource instance - &warn.experimental.func; + &warn.experimental.func; swfmovie->add adds instance to the current movie. instance is any type of data : @@ -403,7 +403,7 @@ header('Content-type: application/x-shockwave-flash'); resource instance - &warn.experimental.func; + &warn.experimental.func; swfmovie->remove removes the object instance instance from the display list. @@ -430,7 +430,7 @@ header('Content-type: application/x-shockwave-flash'); int blue - &warn.experimental.func; + &warn.experimental.func; swfmovie->setbackground sets the background color. Why is there no rgba version? Think about it. (Actually, that's not such a dumb @@ -455,7 +455,7 @@ header('Content-type: application/x-shockwave-flash'); int rate - &warn.experimental.func; + &warn.experimental.func; swfmovie->setrate sets the frame rate to rate, in frame per seconds. @@ -480,7 +480,7 @@ header('Content-type: application/x-shockwave-flash'); int height - &warn.experimental.func; + &warn.experimental.func; swfmovie->setdimension sets the movie's width to width and height to height. @@ -501,7 +501,7 @@ header('Content-type: application/x-shockwave-flash'); string numberofframes - &warn.experimental.func; + &warn.experimental.func; swfmovie->setframes sets the total number of frames in the animation to numberofframes. @@ -519,10 +519,10 @@ header('Content-type: application/x-shockwave-flash'); void swfmovie->nextframe - + - &warn.experimental.func; + &warn.experimental.func; swfmovie->setframes moves to the next frame of the animation. @@ -544,7 +544,7 @@ header('Content-type: application/x-shockwave-flash'); string mp3FileName - &warn.experimental.func; + &warn.experimental.func; swfmovie->streammp3 streams the mp3 file mp3FileName. Not very robust in dealing with @@ -598,7 +598,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem creates a new swfdisplayitem object. @@ -635,7 +635,7 @@ header('Content-type: application/x-shockwave-flash'); int y - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->moveto moves the current object to (x,y) in global coordinates. @@ -667,7 +667,7 @@ header('Content-type: application/x-shockwave-flash'); int dy - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->move moves the current object by (dx,dy) from its @@ -700,7 +700,7 @@ header('Content-type: application/x-shockwave-flash'); int y - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->scaleto scales the current object to (x,y) in global coordinates. @@ -732,7 +732,7 @@ header('Content-type: application/x-shockwave-flash'); int dy - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->scale scales the current object by (dx,dy) from its @@ -764,7 +764,7 @@ header('Content-type: application/x-shockwave-flash'); float degrees - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->rotateto set the current object rotation to degrees degrees in global coordinates. @@ -881,7 +881,7 @@ header('Content-type: application/x-shockwave-flash'); float ddegrees - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->rotate rotates the current object by ddegrees degrees from its current rotation. @@ -912,7 +912,7 @@ header('Content-type: application/x-shockwave-flash'); float degrees - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->skewxto sets the x-skew to degrees. For degrees @@ -947,7 +947,7 @@ header('Content-type: application/x-shockwave-flash'); float ddegrees - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->skewx adds ddegrees to current x-skew. @@ -980,7 +980,7 @@ header('Content-type: application/x-shockwave-flash'); float degrees - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->skewyto sets the y-skew to degrees. For degrees @@ -1015,7 +1015,7 @@ header('Content-type: application/x-shockwave-flash'); float ddegrees - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->skewy adds ddegrees to current y-skew. @@ -1048,7 +1048,7 @@ header('Content-type: application/x-shockwave-flash'); float depth - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->rotate sets the object's z-order to depth. Depth defaults to the @@ -1078,7 +1078,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->remove removes this object from the movie's display list. @@ -1109,7 +1109,7 @@ header('Content-type: application/x-shockwave-flash'); string name - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->setname sets the object's name to name, for targetting with action script. @@ -1137,7 +1137,7 @@ header('Content-type: application/x-shockwave-flash'); float ratio - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->setratio sets the object's ratio to ratio. Obviously only useful for morphs. @@ -1234,7 +1234,7 @@ header('Content-type: application/x-shockwave-flash'); int a - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->addcolor adds the color to this item's color transform. The color is given in its RGB form. @@ -1264,7 +1264,7 @@ header('Content-type: application/x-shockwave-flash'); int a - &warn.experimental.func; + &warn.experimental.func; swfdisplayitem->multcolor multiplies the item's color transform by the given values. @@ -1330,7 +1330,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swfshape creates a new shape object. @@ -1390,7 +1390,7 @@ header('Content-type: application/x-shockwave-flash'); int a - &warn.experimental.func; + &warn.experimental.func; swfshape->setline sets the shape's line style. width is the line's width. If width @@ -1486,7 +1486,7 @@ header('Content-type: application/x-shockwave-flash'); int a - &warn.experimental.func; + &warn.experimental.func; void swfshape->addfill @@ -1494,7 +1494,7 @@ header('Content-type: application/x-shockwave-flash'); int flags - &warn.experimental.func; + &warn.experimental.func; void swfshape->addfill @@ -1502,7 +1502,7 @@ header('Content-type: application/x-shockwave-flash'); int flags - &warn.experimental.func; + &warn.experimental.func; swfshape->addfill adds a solid fill to the shape's list of fill styles. swfshape->addfill accepts three different @@ -1612,7 +1612,7 @@ header('Content-type: application/x-shockwave-flash'); swfgradient fill - &warn.experimental.func; + &warn.experimental.func; void swfshape->setleftfill @@ -1622,7 +1622,7 @@ header('Content-type: application/x-shockwave-flash'); int a - &warn.experimental.func; + &warn.experimental.func; What this nonsense is about is, every edge segment borders at most two fills. When rasterizing the object, it's pretty handy to know what those fills are @@ -1661,7 +1661,7 @@ header('Content-type: application/x-shockwave-flash'); swfgradient fill - &warn.experimental.func; + &warn.experimental.func; void swfshape->setrightfill @@ -1671,7 +1671,7 @@ header('Content-type: application/x-shockwave-flash'); int a - &warn.experimental.func; + &warn.experimental.func; See also swfshape->setleftfill. @@ -1696,7 +1696,7 @@ header('Content-type: application/x-shockwave-flash'); int y - &warn.experimental.func; + &warn.experimental.func; swfshape->setrightfill move the shape's pen to (x,y) in the shape's @@ -1726,7 +1726,7 @@ header('Content-type: application/x-shockwave-flash'); int dy - &warn.experimental.func; + &warn.experimental.func; swfshape->setrightfill move the shape's pen from coordinates (current x,current y) to (current x + dx, @@ -1756,7 +1756,7 @@ header('Content-type: application/x-shockwave-flash'); int y - &warn.experimental.func; + &warn.experimental.func; swfshape->setrightfill draws a line (using the current line style, set by swfshape->setline) from the current @@ -1787,7 +1787,7 @@ header('Content-type: application/x-shockwave-flash'); int dy - &warn.experimental.func; + &warn.experimental.func; swfshape->drawline draws a line (using the current line style set by swfshape->setline) from the current pen position to @@ -1819,7 +1819,7 @@ header('Content-type: application/x-shockwave-flash'); int anchory - &warn.experimental.func; + &warn.experimental.func; swfshape->drawcurveto draws a quadratic curve (using the current line style, set by swfshape->setline) @@ -1855,7 +1855,7 @@ header('Content-type: application/x-shockwave-flash'); int anchordy - &warn.experimental.func; + &warn.experimental.func; swfshape->drawcurve draws a quadratic curve (using the current line style,set by swfshape->setline) @@ -1891,7 +1891,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swfgradient creates a new SWFGradient object. @@ -1977,7 +1977,7 @@ header('Content-type: application/x-shockwave-flash'); int a - &warn.experimental.func; + &warn.experimental.func; swfgradient->addentry adds an entry to the gradient list. ratio is a number between 0 and 1 indicating where in @@ -2006,7 +2006,7 @@ header('Content-type: application/x-shockwave-flash'); int alphafilename - &warn.experimental.func; + &warn.experimental.func; swfbitmap creates a new SWFBitmap object from the Jpeg or DBL file named filename. @@ -2126,7 +2126,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swfbitmap->getwidth returns the bitmap's width in pixels. @@ -2150,7 +2150,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swfbitmap->getheight returns the bitmap's height in pixels. @@ -2197,7 +2197,7 @@ header('Content-type: application/x-shockwave-flash'); int y - &warn.experimental.func; + &warn.experimental.func; swffill->moveto moves fill's origin to (x,y) in global coordinates. @@ -2219,7 +2219,7 @@ header('Content-type: application/x-shockwave-flash'); int y - &warn.experimental.func; + &warn.experimental.func; swffill->scaleto sets fill's scale to x in the x-direction, @@ -2241,7 +2241,7 @@ header('Content-type: application/x-shockwave-flash'); float degrees - &warn.experimental.func; + &warn.experimental.func; swffill->rotateto sets fill's rotation to degrees degrees. @@ -2262,7 +2262,7 @@ header('Content-type: application/x-shockwave-flash'); float x - &warn.experimental.func; + &warn.experimental.func; swffill->skewxto sets fill x-skew to x. For x is 1.0, it is a is a 45-degree @@ -2284,7 +2284,7 @@ header('Content-type: application/x-shockwave-flash'); float y - &warn.experimental.func; + &warn.experimental.func; swffill->skewyto sets fill y-skew to y. For y is 1.0, it is a is a 45-degree @@ -2308,7 +2308,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swfmorph creates a new SWFMorph object. @@ -2396,7 +2396,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swfmorph->getshape1 gets a handle to the morph's starting shape. swfmorph->getshape1 returns an @@ -2418,7 +2418,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swfmorph->getshape2 gets a handle to the morph's ending shape. swfmorph->getshape2 returns an @@ -2442,7 +2442,7 @@ header('Content-type: application/x-shockwave-flash'); - &warn.experimental.func; + &warn.experimental.func; swftext creates a new SWFText object, fresh for manipulating. @@ -2497,7 +2497,7 @@ header('Content-type: application/x-shockwave-flash'); string font - &warn.experimental.func; + &warn.experimental.func; swftext->setfont sets the current font to font. @@ -2518,7 +2518,7 @@ header('Content-type: application/x-shockwave-flash'); int height - &warn.experimental.func; + &warn.experimental.func; swftext->setheight sets the current font height to height. Default is 240. @@ -2539,7 +2539,7 @@ header('Content-type: application/x-shockwave-flash'); float spacing - &warn.experimental.func; + &warn.experimental.func; swftext->setspacing sets the current font spacing to spacingspacing. Default is 1.0. @@ -2569,7 +2569,7 @@ header('Content-type: application/x-shockwave-flash'); int a - &warn.experimental.func; + &warn.experimental.func; swftext->setspacing changes the current text color. Default is black. I think. Color is represented using the RGB system. @@ -2591,7 +2591,7 @@ header('Content-type: application/x-shockwave-flash'); int y - &warn.experimental.func; + &warn.experimental.func; swftext->moveto moves the pen (or cursor, if that makes more sense) to (x,y) @@ -2614,7 +2614,7 @@ header('Content-type: application/x-shockwave-flash'); string string - &warn.experimental.func; + &warn.experimental.func; swftext->addstring draws the string string at the current pen (cursor) location. Pen is at the baseline of the text; @@ -2636,7 +2636,7 @@ header('Content-type: application/x-shockwave-flash'); string string - &warn.experimental.func; + &warn.experimental.func; swftext->addstring returns the rendered width of the string string at the text object's current font, @@ -2660,7 +2660,7 @@ header('Content-type: application/x-shockwave-flash'); string filename - &warn.experimental.func; + &warn.experimental.func; If filename is the name of an FDB file (i.e., it ends in ".fdb"), load the font definition found in said @@ -2683,14 +2683,14 @@ header('Content-type: application/x-shockwave-flash'); $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. - - - swffont returns a reference to the font - definition, for use in the SWFText->setFont - and the SWFTextField->setFont methods. + + will give you the standard sans-serif font, probably the same as what you'd get + with <font name="sans-serif"> in HTML. + + + 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. @@ -2711,7 +2711,7 @@ $f = newSWFFont("_sans"); string string - &warn.experimental.func; + &warn.experimental.func; swffont->getwidth returns the string string's width, using font's default scaling. @@ -2736,51 +2736,51 @@ $f = newSWFFont("_sans"); int flags - &warn.experimental.func; + &warn.experimental.func; - swftextfield creates a new text field object. - Text Fields are less flexible than swftext objects- - they can't be rotated, scaled non-proportionally, or skewed, but they can - be used as form entries, and they can use browser-defined fonts. - - - The optional flags change the text field's behavior. It has the following - possibles values : - - - - SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable - - - - - SWFTEXTFIELD_PASSWORD obscures the data entry - - - - - SWFTEXTFIELD_DRAWBOX draws the outline of the textfield - - - - - SWFTEXTFIELD_MULTILINE allows multiple lines - - - - - SWFTEXTFIELD_WORDWRAP allows text to wrap - - - - - SWFTEXTFIELD_NOSELECT makes the field non-selectable - - - - Flags are combined with the bitwise - OR operation. For example, - + swftextfield creates a new text field object. + Text Fields are less flexible than swftext objects- + they can't be rotated, scaled non-proportionally, or skewed, but they can + be used as form entries, and they can use browser-defined fonts. + + + The optional flags change the text field's behavior. It has the following + possibles values : + + + + SWFTEXTFIELD_NOEDIT indicates that the field shouldn't be user-editable + + + + + SWFTEXTFIELD_PASSWORD obscures the data entry + + + + + SWFTEXTFIELD_DRAWBOX draws the outline of the textfield + + + + + SWFTEXTFIELD_MULTILINE allows multiple lines + + + + + SWFTEXTFIELD_WORDWRAP allows text to wrap + + + + + SWFTEXTFIELD_NOSELECT makes the field non-selectable + + + + Flags are combined with the bitwise + OR operation. For example, + string font - &warn.experimental.func; + &warn.experimental.func; swftextfield->setfont sets the text field font to the [browser-defined?] font font. @@ -2836,7 +2836,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int height - &warn.experimental.func; + &warn.experimental.func; swftextfield->setbounds sets the text field width to width and height to height. @@ -2859,7 +2859,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int alignement - &warn.experimental.func; + &warn.experimental.func; swftextfield->align sets the text field alignment to alignement. Valid values for @@ -2883,7 +2883,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int height - &warn.experimental.func; + &warn.experimental.func; swftextfield->setheight sets the font height of this text field font to the given height height. Default is 240. @@ -2904,7 +2904,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int width - &warn.experimental.func; + &warn.experimental.func; swftextfield->setleftmargin sets the left margin width of the text field to width. Default is 0. @@ -2925,7 +2925,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int width - &warn.experimental.func; + &warn.experimental.func; swftextfield->setrightmargin sets the right margin width of the text field to width. Default is 0. @@ -2947,7 +2947,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int right - &warn.experimental.func; + &warn.experimental.func; swftextfield->setmargins set both margins at once, for the man on the go. @@ -2968,7 +2968,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int width - &warn.experimental.func; + &warn.experimental.func; swftextfield->setindentation sets the indentation of the first line in the text field, to width. @@ -2989,7 +2989,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int height - &warn.experimental.func; + &warn.experimental.func; swftextfield->setlinespacing sets the line spacing of the text field to the height of height. Default is 40. @@ -3013,7 +3013,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int a - &warn.experimental.func; + &warn.experimental.func; swftextfield->setcolor sets the color of the text field. Default is fully opaque black. Color is represented using RGB system. @@ -3034,7 +3034,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); string name - &warn.experimental.func; + &warn.experimental.func; swftextfield->setname sets the variable name of this text field to name, for form posting and action @@ -3056,7 +3056,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); string string - &warn.experimental.func; + &warn.experimental.func; swftextfield->setname concatenates the string string to the text field. @@ -3079,7 +3079,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); - &warn.experimental.func; + &warn.experimental.func; swfsprite are also known as a "movie clip", this allows one to create objects which are animated in their own @@ -3151,7 +3151,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); ressource object - &warn.experimental.func; + &warn.experimental.func; swfsprite->add adds a swfshape, a swfbutton, a swftext, @@ -3179,7 +3179,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); ressource object - &warn.experimental.func; + &warn.experimental.func; swfsprite->remove remove a swfshape, a swfbutton, a swftext, @@ -3202,7 +3202,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int numberofframes - &warn.experimental.func; + &warn.experimental.func; swfsprite->setframes sets the total number of frames in the animation to numberofframes. @@ -3220,10 +3220,10 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); void swfsprite->nextframe - + - &warn.experimental.func; + &warn.experimental.func; swfsprite->setframes moves to the next frame of the animation. @@ -3246,7 +3246,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); - &warn.experimental.func; + &warn.experimental.func; swfbutton creates a new Button. Roll over it, click it, see it call action code. Swank. @@ -3319,25 +3319,25 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); $b->addShape(rect(0, 0, 0xff), SWFBUTTON_DOWN); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(1);"), - SWFBUTTON_MOUSEUP); + SWFBUTTON_MOUSEUP); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(2);"), - SWFBUTTON_MOUSEDOWN); + SWFBUTTON_MOUSEDOWN); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(3);"), - SWFBUTTON_MOUSEOVER); + SWFBUTTON_MOUSEOVER); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(4);"), - SWFBUTTON_MOUSEOUT); + SWFBUTTON_MOUSEOUT); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(5);"), - SWFBUTTON_MOUSEUPOUTSIDE); + SWFBUTTON_MOUSEUPOUTSIDE); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(6);"), - SWFBUTTON_DRAGOVER); + SWFBUTTON_DRAGOVER); $b->addAction(new SWFAction("setTarget('/label'); gotoFrame(7);"), - SWFBUTTON_DRAGOUT); + SWFBUTTON_DRAGOUT); $m = new SWFMovie(); $m->setDimension(4000,3000); @@ -3376,10 +3376,10 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); $b->addShape($s, SWFBUTTON_HIT | SWFBUTTON_UP | SWFBUTTON_DOWN | SWFBUTTON_OVER); $b->addAction(new SWFAction("startDrag('/test', 0);"), // '0' means don't lock to mouse - SWFBUTTON_MOUSEDOWN); + SWFBUTTON_MOUSEDOWN); $b->addAction(new SWFAction("stopDrag();"), - SWFBUTTON_MOUSEUP | SWFBUTTON_MOUSEUPOUTSIDE); + SWFBUTTON_MOUSEUP | SWFBUTTON_MOUSEUPOUTSIDE); $p = new SWFSprite(); $p->add($b); @@ -3414,7 +3414,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int flags - &warn.experimental.func; + &warn.experimental.func; swfbutton->addshape adds the shape shape to this button. The following @@ -3440,7 +3440,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); ressource shape - &warn.experimental.func; + &warn.experimental.func; swfbutton->setup alias for addShape(shape, SWFBUTTON_UP). @@ -3465,7 +3465,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); ressource shape - &warn.experimental.func; + &warn.experimental.func; swfbutton->setover alias for addShape(shape, SWFBUTTON_OVER). @@ -3490,7 +3490,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); ressource shape - &warn.experimental.func; + &warn.experimental.func; swfbutton->setdown alias for addShape(shape, SWFBUTTON_DOWN). @@ -3515,7 +3515,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); ressource shape - &warn.experimental.func; + &warn.experimental.func; swfbutton->sethit alias for addShape(shape, SWFBUTTON_HIT). @@ -3541,7 +3541,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); int flags - &warn.experimental.func; + &warn.experimental.func; swfbutton->addaction adds the action action to this button for the given conditions. @@ -3571,7 +3571,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); ressource action - &warn.experimental.func; + &warn.experimental.func; swfbutton->setaction sets the action to be performed when the button is clicked. Alias for addAction(shape, SWFBUTTON_MOUSEUP). @@ -3600,7 +3600,7 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); string script - &warn.experimental.func; + &warn.experimental.func; swfaction creates a new Action, and compiles the given script into an SWFAction object. @@ -3660,66 +3660,66 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); time() - - Returns the number of milliseconds (?) elapsed since the movie started. - + + Returns the number of milliseconds (?) elapsed since the movie started. + random(seed) - - Returns a pseudo-random number in the range 0-seed. - + + Returns a pseudo-random number in the range 0-seed. + length(expr) - - Returns the length of the given expression. - + + Returns the length of the given expression. + int(number) - - Returns the given number rounded down to the nearest integer. - + + Returns the given number rounded down to the nearest integer. + concat(expr, expr) - - Returns the concatenation of the given expressions. - + + Returns the concatenation of the given expressions. + ord(expr) - - Returns the ASCII code for the given character - + + Returns the ASCII code for the given character + chr(num) - - Returns the character for the given ASCII code - + + Returns the character for the given ASCII code + substr(string, location, length) - - Returns the substring of length length at location location of - the given string string. - + + Returns the substring of length length at location location of + the given string string. + @@ -3730,53 +3730,53 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); duplicateClip(clip, name, depth) - - Duplicate the named movie clip (aka sprite). The new movie clip has name name - and is at depth depth. - + + Duplicate the named movie clip (aka sprite). The new movie clip has name name + and is at depth depth. + removeClip(expr) - - Removes the named movie clip. - + + Removes the named movie clip. + trace(expr) - - Write the given expression to the trace log. Doubtful that the browser - plugin does anything with this. - + + Write the given expression to the trace log. Doubtful that the browser + plugin does anything with this. + startDrag(target, lock, [left, top, right, bottom]) - - Start dragging the movie clip target. The lock argument indicates whether - to lock the mouse (?)- use 0 (&false;) or 1 (&true;). Optional parameters - define a bounding area for the dragging. - + + Start dragging the movie clip target. The lock argument indicates whether + to lock the mouse (?)- use 0 (&false;) or 1 (&true;). Optional parameters + define a bounding area for the dragging. + stopDrag() - - Stop dragging my heart around. And this movie clip, too. - + + Stop dragging my heart around. And this movie clip, too. + callFrame(expr) - - Call the named frame as a function. - + + Call the named frame as a function. + @@ -3803,75 +3803,75 @@ $t = newSWFTextField(SWFTEXTFIELD_PASSWORD | SWFTEXTFIELD_NOEDIT); nextFrame() - - Go to the next frame. - + + Go to the next frame. + prevFrame() - - Go to the last (or, rather, previous) frame. - + + Go to the last (or, rather, previous) frame. + play() - - Start playing the movie. - + + Start playing the movie. + stop() - - Stop playing the movie. - + + Stop playing the movie. + toggleQuality() - - Toggle between high and low quality. - + + Toggle between high and low quality. + stopSounds() - - Stop playing all sounds. - + + Stop playing all sounds. + gotoFrame(num) - - Go to frame number num. Frame numbers start at 0. - + + Go to frame number num. Frame numbers start at 0. + gotoFrame(name) - - Go to the frame named name. Which does a lot of good, since I - haven't added frame labels yet. - + + Go to the frame named name. Which does a lot of good, since I + haven't added frame labels yet. + setTarget(expr) - - Sets the context for action. Or so they say- I really have no - idea what this does. - + + Sets the context for action. Or so they say- I really have no + idea what this does. + @@ -4308,7 +4308,7 @@ duplicateClip(/frames, 'char' & num, num); $p->add(new SWFAction("stop();")); $chars = "abcdefghijklmnopqrstuvwxyz". - "ABCDEFGHIJKLMNOPQRSTUVWXYZ". + "ABCDEFGHIJKLMNOPQRSTUVWXYZ". "1234567890!@#$%^&/*()_+-=/[]{}|;:,.<>?`~"; $f = new SWFFont("_sans");