Podręcznik PHP Poprzedni Następny LIX. Ming functions for Flash Ostrzeżenie Ten moduł jest w stadium EKSPERYMENTALNYM. Oznacza to, że zachowanie tych funkcji, ich nazwy, w zasadzie wszystko udokumentowane tutaj może zostać zmienione w przyszłych wersjach PHP bez wcześniejszego uprzedzenia. Używaj tego modułu na własne ryzyko. Wprowadzenie Wymagania Instalacja Przykład 1. built into php (unix) Konfiguracja startowa To rozszerzenie nie definiuje żadnych dyrektyw konfiguracyjnych. Typy zasobów Predefiniowane stałe Poniższe stałe są zdefiniowane w tym rozszerzeniu i stają się dostępne, gdy rozszerzenie jest dokompilowane do PHP, lub załadowane dynamicznie przy starcie. Predefiniowane klasy Poniższe stałe zdefiniowane są w tym rozszerzeniu, a więc będą widoczne tylko jeśli rozszerzenie to będzie wkompilowane w PHP lub dynamicznie dołączone w trakcie pracy. 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 Poprzedni Spis treści Następny Początek rozdziału