SWFButton
在线手册:中文 英文
PHP手册

SWFButton::setAction

(PHP 4 >= 4.0.5)

SWFButton::setActionSets the action

说明

void SWFButton::setAction ( SWFAction $action )
Warning

此函数是实验性的。 此函数的表象,包括名称及其相关文档都可能在未来的 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.

参数

action

An SWFAction, returned by SWFAction::__construct().

返回值

没有返回值。

参见


SWFButton
在线手册:中文 英文
PHP手册