SWFBitmap->getWidth
SWFButton->addAction
Ming
PHP Manual

# The SWFButton class

## Introduction

SWFButton.

## Class synopsis

SWFButton
class SWFButton {
/* Methods */
void addAction ( SWFAction `$action` , int `$flags` )
SWFSoundInstance addASound ( SWFSound `$sound` , int `$flags` )
void addShape ( SWFShape `$shape` , int `$flags` )
SWFButton __construct ( void )
void setAction ( SWFAction `$action` )
void setDown ( SWFShape `$shape` )
void setHit ( SWFShape `$shape` )
void setMenu ( int `$flag` )
void setOver ( SWFShape `$shape` )
void setUp ( SWFShape `$shape` )
}

## Table of Contents

- SWFButton->addAction — Adds an action
- SWFButton->addASound — Associates a sound with a button transition
- SWFButton->addShape — Adds a shape to a button
- SWFButton->__construct — Creates a new Button
- SWFButton->setAction — Sets the action
- SWFButton->setDown — Alias for addShape(shape, SWFBUTTON_DOWN)
- SWFButton->setHit — Alias for addShape(shape, SWFBUTTON_HIT)
- SWFButton->setMenu — enable track as menu button behaviour
- SWFButton->setOver — Alias for addShape(shape, SWFBUTTON_OVER)
- SWFButton->setUp — Alias for addShape(shape, SWFBUTTON_UP)

SWFBitmap->getWidth
SWFButton->addAction
Ming
PHP Manual