Swf_addbuttonrecord
(PHP4 >= 4.0rc2)
Swf_addbuttonrecord---&http://www.aliyun.com/zixun/aggregation/37954.html ">nbsp; The area where the control button appears and moves
Syntax: void Swf_addbuttonrecord (int states, int shapeid, int depth)
Description:
Swf_addbuttonrecord () allows you to define the details of the use of the button, the first parameter states what state the button can have and can be any one or all of the following constants: Bshittest, Bsdown, Bsover, or Bsup. The second parameter ShapeID is the appearance of the button, which is usually the object ID of the button's shape. Parameter depth is the configuration of the button in the current frame.
Example:
<?php
Swf_startbutton ($objid, Type_menubutton);
Swf_addbuttonrecord (bsdown| Bsover, $buttonImageId, 340);
Swf_oncondition (Menuenter);
Swf_actiongeturl ("http://www.designmultimedia.com", "_level1");
Swf_oncondition (Menuexit); Swf_actiongeturl ("", "_level1");
Swf_endbutton ();
?>