PHP-manual
Föregående
Nästa
LIX.
Ming functions for Flash
Varning
Den här utbyggnaden är EXPERIMENTELL.
Dess beteende - - inkluderat namnen på funktionerna, och allt annat dokumenterat om den här utbyggnaden - - kan ändras i framtida utgåvar av PHP utan något tillkännagivande.
Använd den på egen risk.
Introduktion
Krav
Installation
Exempel 1. built into php (unix)
Konfiguration under drift
Den här utbyggnaden definerar inte några konfigurationsdirektiv i php.ini.
Resurstyper
Fördefinerade konstanter
Konstanterna nedan defineras av den här utbyggnaden, och kommer bara vara tillgängliga då utbyggnaden kompilerats med PHP eller laddats dynamiskt.
Fördefinerade klasser
Klasserna nedan defineras av det här tillägget, och är bara tillgängliga om tillägget kompilerats in i PHP eller laddas dynamiskt under körning.
SWFBitmap - getHeight - - Returns the bitmap 's height.
SWFBitmap - getWidth - - Returns the bitmap 's width.
SWFBitmap
SWFDisplayItem - addColor - - Adds the given color to this item 's color transform.
SWFDisplayItem - move - - Moves object in relative coordinates.
SWFDisplayItem - moveTo - - Moves object in global coordinates.
SWFDisplayItem - multColor - - Multiplies the item 's color transform.
SWFDisplayItem - remove
SWFDisplayItem - rotateTo - - Rotates the object in global coordinates.
SWFDisplayItem - scale - - Scales the object in relative coordinates.
SWFDisplayItem - scaleTo - - Scales the object in global coordinates.
SWFDisplayItem - setDepth
SWFDisplayItem - skewX - - Sets the X-skew.
SWFDisplayItem - skewXTo - - Sets the X-skew.
SWFDisplayItem - skewY - - Sets the Y-skew.
SWFDisplayItem - skewYTo - - Sets the Y-skew.
SWFDisplayItem - - Creates a new displayitem object.
SWFFill - moveTo
SWFGradient
SWFMovie - add - - Adds any type of data to a movie.
SWFMovie - nextframe - - Moves to the next frame of the animation.
SWFMovie - output - - Dumps your lovingly prepared movie out.
SWFMovie - remove - - Removes the object instance from the display list.
SWFMovie - save - - Saves your movie in a file.
SWFMovie - setbackground - - Sets the background color.
SWFMovie - setdimension - - Sets the movie 's width and height.
SWFMovie - setframes - - Sets the total number of frames in the animation.
SWFMovie - setrate - - Sets the animation 's frame rate.
SWFMovie - streammp3 - - Streams a MP3 file.
SWFMovie - - Creates a new movie object, representing an SWF version 4 movie.
SWFShape - addFill - - Adds a solid fill to the shape.
SWFShape - drawCurve - - Draws a curve (relative).
SWFShape - drawCurveTo - - Draws a curve.
SWFShape - drawLine - - Draws a line (relative).
SWFShape - drawLineTo - - Draws a line.
SWFShape - movePen - - Moves the shape' s pen (relative).
SWFShape - movePenTo - - Moves the shape 's pen.
SWFShape - setLeftFill - - Sets left rasterizing color.
SWFShape - setLine - - Sets the shape 's line style.
SWFShape - setRightFill - - Sets right rasterizing color.
SWFShape - - Creates a new shape object.
SWFSprite - add
SWFSprite - remove
SWFSprite
SWFTextField - addstring
SWFTextField - setFont
SWFTextField - setindentation - - Sets the indentation of the first line.
SWFTextField - setLeftMargin - - Sets the left margin width of the text field.
SWFTextField - setLineSpacing - - Sets the line spacing of the text field.
SWFTextField - setMargins - - Sets the margins width of the text field.
SWFTextField - setname
SWFTextField - - Creates a text field object
Föregående
Hem
Nästa
Upp