מדריך PHP
קודם
הבא
אזהרה
רכיב זה הוא ניסיוני. כלומר, התנהגות הפונקציות,שמות הפונקציות ובאופן כללי כל מה שמתועד כאן עשוי להשתנות בהפצה עתידית של PHP ללא התרעה. ראה הוזהרת, השימוש ברכיב זה על אחריותך בלבד.
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.
Source code and installation instructions are available at the Ming home page: http: / /www.opaque.net / ming / along with examples, a small tutorial, and the latest news.
download php_ming.so.gz. uncompress it and copy it to your php modules directory. (you can find your php module directory by running php-config --extension-dir).
swfmovie().
swfshape().
swfdisplayitem().
swfgradient().
swfbitmap().
swffill().
swfmorph().
swftext().
swffont().
swftextfield().
swfsprite().
swfbutton().
swfaction().
SWFBitmap
SWFBitmap - getWidth - - Returns the bitmap 's width.
SWFbutton
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.
SWFFill
SWFMorph - - Creates a new SWFMorph object.
SWFMorph - getshape1
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.
SWFShape - - Creates a new shape object.
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.
SWFSprite
SWFSprite - remove
SWFText - - Creates a new SWFText object.
SWFText - 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
קודם
ראשי
הבא
למעלה