Hosting de Calidad
  • Inicio
  • Precios y servicios
  • F.a.q y ayudas
  • Realizar pedido
  • Webs alojadas
  • Quienes somos
  • Foro HyD
  • Contacto

    Zona Dominios

    Entrar
    registro de dominios


    Zona Hosting

    Entrar
    alojamiento web


    5 Métodos de Pago
    Tarjeta de crédito
    Domiciliación
    Transferencia
    Soporte Epagado
    Soporte Paypal

    Liberalización .es

    Ver mas
    dominios .es


  •  
     
     
    Ming functions for Flash

    LIX_ Ming functions for Flash

    Aviso

    Esta extensión es EXPERIMENTAL_ Esto significa que el comportamiento de esta extensión, los nombre de sus funciones y en definitiva TODO lo documentado sobre esta extensión, puede cambiar en una futura versión de PHP SIN AVISO_ La advertencia queda hecha, y utilizar esta extensión queda bajo su propia responsabiliad_

    Introducción

    First of all: Ming is not an acronym_ 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_

    Note that all values specifying length, distance, size, etc_ are in "twips", twenty units per pixel_ That's pretty much arbitrary, though, since the player scales the movie to whatever pixel size is specified in the embed/object tag, 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 ming@opaque_net_

    Ming was added in PHP 4_0_5_

    Requerimientos

    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: http://ming_sourceforge_net/ along with examples, a small tutorial, and the latest news_

    Download the ming archive_ Unpack the archive_ Go in the Ming directory_ make_ make install_

    This will build libming_so and install it into /usr/lib/, and copy ming_h into /usr/include/_ Edit the PREFIX= line in the Makefile to change the installation directory_

    Instalación

    Ejemplo 1_ built into php (unix)



        mkdir <phpdir>/ext/ming
        cp php_ext/* <phpdir>/ext/ming
        cd <phpdir>
        _/buildconf 
        _/configure __with_ming <other config options>

        

    Build and install php as usual, restart web server if necessary_

    Now either just add extension=php_ming_so to your php_ini file, or put dl('php_ming_so'); at the head of all of your Ming scripts_

    Configuración en tiempo de ejecución

    Esta extensión no tiene directivas de configuración en php_ini_

    Tipos de recursos

    Constantes predefinidas

    Estas constantes están definidas por esta extensión y estarán disponibles solamente cuando la extensión ha sido o bien compilada dentro de PHP o grabada dinámicamente en tiempo de ejecución_

    SWFBUTTON_HIT (integer)

    SWFBUTTON_DOWN (integer)

    SWFBUTTON_OVER (integer)

    SWFBUTTON_UP (integer)

    SWFBUTTON_MOUSEUPOUTSIDE (integer)

    SWFBUTTON_DRAGOVER (integer)

    SWFBUTTON_DRAGOUT (integer)

    SWFBUTTON_MOUSEUP (integer)

    SWFBUTTON_MOUSEDOWN (integer)

    SWFBUTTON_MOUSEOUT (integer)

    SWFBUTTON_MOUSEOVER (integer)

    SWFFILL_RADIAL_GRADIENT (integer)

    SWFFILL_LINEAR_GRADIENT (integer)

    SWFFILL_TILED_BITMAP (integer)

    SWFFILL_CLIPPED_BITMAP (integer)

    SWFTEXTFIELD_HASLENGTH (integer)

    SWFTEXTFIELD_NOEDIT (integer)

    SWFTEXTFIELD_PASSWORD (integer)

    SWFTEXTFIELD_MULTILINE (integer)

    SWFTEXTFIELD_WORDWRAP (integer)

    SWFTEXTFIELD_DRAWBOX (integer)

    SWFTEXTFIELD_NOSELECT (integer)

    SWFTEXTFIELD_HTML (integer)

    SWFTEXTFIELD_ALIGN_LEFT (integer)

    SWFTEXTFIELD_ALIGN_RIGHT (integer)

    SWFTEXTFIELD_ALIGN_CENTER (integer)

    SWFTEXTFIELD_ALIGN_JUSTIFY (integer)

    SWFACTION_ONLOAD (integer)

    SWFACTION_ENTERFRAME (integer)

    SWFACTION_UNLOAD (integer)

    SWFACTION_MOUSEMOVE (integer)

    SWFACTION_MOUSEDOWN (integer)

    SWFACTION_MOUSEUP (integer)

    SWFACTION_KEYDOWN (integer)

    SWFACTION_KEYUP (integer)

    SWFACTION_DATA (integer)

    Clases predefinidas

    Estas clases están definidas por esta extensión y estarán disponibles cuando la extensión haya sido compilada dentro de PHP o cargada dinámicamente en tiempo de ejecución

    Ming introduces 13 new objects in PHP, all with matching methods and attributes_ To use them, you need to know about objects_

    swfshape

    swffill

    swfgradient

    swfbitmap

    swftext

    swftextfield

    swffont

    swfdisplayitem

    swfmovie

    swfbutton

    swfaction

    swfmorph

    swfsprite

    Tabla de contenidos
    ming_setcubicthreshold __  Set cubic threshold (?)
    ming_setscale __  Set scale (?)
    ming_useswfversion __  Use SWF version (?)
    SWFAction __ Creates a new Action_
    SWFBitmap_>getHeight __ Returns the bitmap's height_
    SWFBitmap_>getWidth __ Returns the bitmap's width_
    SWFBitmap __ Loads Bitmap object
    swfbutton_keypress __  Returns the action flag for keyPress(char)
    SWFbutton_>addAction __ Adds an action
    SWFbutton_>addShape __ Adds a shape to a button
    SWFbutton_>setAction __ Sets the action
    SWFbutton_>setdown __ Alias for addShape(shape, SWFBUTTON_DOWN))
    SWFbutton_>setHit __ Alias for addShape(shape, SWFBUTTON_HIT)
    SWFbutton_>setOver __ Alias for addShape(shape, SWFBUTTON_OVER)
    SWFbutton_>setUp __ Alias for addShape(shape, SWFBUTTON_UP)
    SWFbutton __ Creates a new Button_
    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 __ Removes the object from the movie
    SWFDisplayItem_>Rotate __ Rotates in relative coordinates_
    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 __ Sets z_order
    SWFDisplayItem_>setName __ Sets the object's name
    SWFDisplayItem_>setRatio __ Sets the object's ratio_
    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 __ Moves fill origin
    SWFFill_>rotateTo __ Sets fill's rotation
    SWFFill_>scaleTo __ Sets fill's scale
    SWFFill_>skewXTo __ Sets fill x_skew
    SWFFill_>skewYTo __ Sets fill y_skew
    SWFFill __ Loads SWFFill object
    swffont_>getwidth __ Returns the string's width
    SWFFont __ Loads a font definition
    SWFGradient_>addEntry __ Adds an entry to the gradient list_
    SWFGradient __ Creates a gradient object
    SWFMorph_>getshape1 __ Gets a handle to the starting shape
    SWFMorph_>getshape2 __ Gets a handle to the ending shape
    SWFMorph __ Creates a new SWFMorph object_
    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 __ Adds an object to a sprite
    SWFSprite_>nextframe __ Moves to the next frame of the animation_
    SWFSprite_>remove __ Removes an object to a sprite
    SWFSprite_>setframes __ Sets the total number of frames in the animation_
    SWFSprite __ Creates a movie clip (a sprite)
    SWFText_>addString __ Draws a string
    SWFText_>getWidth __ Computes string's width
    SWFText_>moveTo __ Moves the pen
    SWFText_>setColor __ Sets the current font color
    SWFText_>setFont __ Sets the current font
    SWFText_>setHeight __ Sets the current font height
    SWFText_>setSpacing __ Sets the current font spacing
    SWFText __ Creates a new SWFText object_
    SWFTextField_>addstring __ Concatenates the given string to the text field
    SWFTextField_>align __ Sets the text field alignment
    SWFTextField_>setbounds __ Sets the text field width and height
    SWFTextField_>setcolor __ Sets the color of the text field_
    SWFTextField_>setFont __ Sets the text field font
    SWFTextField_>setHeight __ Sets the font height of this text field font_
    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 __ Sets the variable name
    SWFTextField_>setrightMargin __ Sets the right margin width of the text field_
    SWFTextField __ Creates a text field object
     
       



    registro de dominios | alojamiento web | hosting por publicidad

       

     

    Manual de linux Manual de apache Manual de php Manual de mysql Manual de SQL Manual del Plesk Como funciona Paypal Manual de html