Home > PHP > Function > > SWFButton->addAction()

SWFButton->addAction()

SWFButton->addAction - Adds an action

Syntax

void SWFButton->addAction (SWFAction $action, int $flags)

Arguments

  • action - An SWFAction, returned by SWFAction->__construct.
  • flags - The following flags are valid: SWFBUTTON_MOUSEOVER, SWFBUTTON_MOUSEOUT, SWFBUTTON_MOUSEUP, SWFBUTTON_MOUSEUPOUTSIDE, SWFBUTTON_MOUSEDOWN, SWFBUTTON_DRAGOUT and SWFBUTTON_DRAGOVER.

Description

Adds the given action to the button for the given conditions.

Version

PHP 4.0.5

Return value

No value is returned.