SWFBitmap->getWidth
SWFButton->addAction
Ming
PHP Manual

# La classe SWFButton

## Introduction

SWFButton.

## Synopsis de la classe

SWFButton
SWFButton {
/* Méthodes */
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` )
}

## Sommaire

- SWFButton->addAction — Ajoute une action
- SWFButton->addASound — Associe un son à un bouton
- SWFButton->addShape — Ajoute une forme à un bouton
- SWFButton->__construct — Crée un nouveau bouton
- SWFButton->setAction — Définit l'action
- SWFButton->setDown — Alias pour addShape(shape, SWFBUTTON_DOWN)
- SWFButton->setHit — Alias pour addShape(shape, SWFBUTTON_HIT)
- SWFButton->setMenu — Active un menu sur un bouton
- SWFButton->setOver — Alias pour addShape(shape, SWFBUTTON_OVER)
- SWFButton->setUp — Alias pour addShape(shape, SWFBUTTON_UP)

SWFBitmap->getWidth
SWFButton->addAction
Ming
PHP Manual