Shockwave Flash function Library: Swf_addbuttonrecord

Source: Internet
Author: User
Keywords Flash function Library php Chinese function manual Shockwave swf_addbuttonrecord
Tags aliyun button control flash function library function function library html http

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 ();

?>

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.