« SWFBitmap::getWidth
SWFButton::addAction »
PHP Manual
Ming
The SWFButton class
The SWFButton class
(PHP 5 < 5.3.0, PECL ming SVN)
Introduction
SWFButton.
Class synopsis
SWFButton
{
/* Methods */
addAction
(
SWFAction
$action
,
int
$flags
) :
void
addASound
(
SWFSound
$sound
,
int
$flags
) :
SWFSoundInstance
addShape
(
SWFShape
$shape
,
int
$flags
) :
void
__construct
(
void
)
setAction
(
SWFAction
$action
) :
void
setDown
(
SWFShape
$shape
) :
void
setHit
(
SWFShape
$shape
) :
void
setMenu
(
int
$flag
) :
void
setOver
(
SWFShape
$shape
) :
void
setUp
(
SWFShape
$shape
) :
void
}
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)