(PHP 4 )

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


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

The swf_addbuttonrecord() function allows you to define the specifics of using a button. The first parameter, states, defines what states the button can have, these can be any or all of the following constants: BSHitTest, BSDown, BSOver or BSUp. The second parameter, the shapeid is the look of the button, this is usually the object id of the shape of the button. The depth parameter is the placement of the button in the current frame.

Example 1. swf_addbuttonrecord() example

swf_addButtonRecord(BSDown|BSOver, $buttonImageId, 340);
swf_actionGetUrl("http://www.example.com", "_level1");
swf_actionGetUrl("", "_level1");

Sites of interest: Web Hosting : Reseller Hosting : Website Hosting : HTML Editor : Web Design Templates : Free Web Hosting : ASP code examples : PHP & MySQL Code Examples
  Copyright 2004 Evrsoft Developer Network. Privacy policy - Link to Us

Contact Evrsoft