Home > PHP > Function > SWF > swf_addbuttonrecord()

swf_addbuttonrecord()

swf_addbuttonrecord - Controls location, appearance and active area of the current button

Syntax

swf_addbuttonrecord (int $states, int $shapeid, int $depth)

Arguments

  • states - Defines what states the button can have, these can be any or all of the following constants: BSHitTest, BSDown, BSOver or BSUp.
  • shapeid - The second parameter, the shapeid is the look of the button, this is usually the object id of the shape of the button.
  • depth - This parameter is the placement of the button in the current frame.

Description

Allow you to define the specifics of using a button.

Version

PHP 4

Return value

No value is returned.