© This document uses PHP Chinese website manual Release
(PHP 5 <= 5.3.0, PECL ming SVN)
SWFButton::setAction — Sets the action
$action
此函数是实验性的。此函数的表象,包括名称及其相关文档都可能在未来的 PHP 发布版本中未通知就被修改。使用本函数风险自担 。
Sets the action to be performed when the button is clicked.
This is a shortcut for SWFButton::addAction() called with the SWFBUTTON_MOUSEUP flag.
SWFBUTTON_MOUSEUP
action
An SWFAction, returned by SWFAction::__construct() .
没有返回值。