SWFButton->setUp
SWFDisplayItem->addAction
Ming
PHP Manual

# The SWFDisplayItem class

## Introduction

SWFDisplayItem.

## Class synopsis

SWFDisplayItem
class SWFDisplayItem {
/* Methods */
void addAction ( SWFAction `$action` , int `$flags` )
void addColor ( int `$red` , int `$green` , int `$blue` [, int `$a` ] )
void endMask ( void )
float getRot ( void )
float getX ( void )
float getXScale ( void )
float getXSkew ( void )
float getY ( void )
float getYScale ( void )
float getYSkew ( void )
void move ( int `$dx` , int `$dy` )
void moveTo ( int `$x` , int `$y` )
void multColor ( int `$red` , int `$green` , int `$blue` [, int `$a` ] )
void remove ( void )
void rotate ( float `$angle` )
void rotateTo ( float `$angle` )
void scale ( int `$dx` , int `$dy` )
void scaleTo ( int `$x` [, int `$y` ] )
void setDepth ( float `$depth` )
void setMaskLevel ( int `$level` )
void setMatrix ( float `$a` , float `$b` , float `$c` , float `$d` , float `$x` , float `$y` )
void setName ( string `$name` )
void setRatio ( float `$ratio` )
void skewX ( float `$ddegrees` )
void skewXTo ( float `$degrees` )
void skewY ( float `$ddegrees` )
void skewYTo ( float `$degrees` )
}

## Table of Contents

- SWFDisplayItem->addAction — Adds this SWFAction to the given SWFSprite instance
- SWFDisplayItem->addColor — Adds the given color to this item's color transform
- SWFDisplayItem->endMask — Another way of defining a MASK layer
- SWFDisplayItem->getRot — Description
- SWFDisplayItem->getX — Description
- SWFDisplayItem->getXScale — Description
- SWFDisplayItem->getXSkew — Description
- SWFDisplayItem->getY — Description
- SWFDisplayItem->getYScale — Description
- SWFDisplayItem->getYSkew — Description
- 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->setMaskLevel — Defines a MASK layer at level
- SWFDisplayItem->setMatrix — Sets the item's transform matrix
- 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

SWFButton->setUp
SWFDisplayItem->addAction
Ming
PHP Manual