![]() |
Home
iRate! IceMelon IM Tutorials Headlines CoolSites PHP Functions |
Most Referenced Functions » google_pagerank() » preg_replace() » imagecreatefrompng() » site_pageranks() » imagepng() » imagedestroy() » imagestring() » imagecolorallocate() » htmlentities() » fopen() » preg_match() » header() » getimagesize() » htmlspecialchars() » session_start() » ob_start() » strstr() » ob_flush() » preg_match_all() » strpos() » flush() » setcookie() » str_replace() » array2vars() » nl2br() » preg_split() » ereg() » urlencode() » ereg_replace() » readgzfile() Become a sponsor for $15/month. Link is sitewide - PR5 homepage, 20+ PR4 pages, 90+ PR3 pages. Email dave[AT]icemelon[D0T]c0m. |
PHP Functions
Function: swf_addbuttonrecord (PHP 4, PECL) swf_addbuttonrecord -- Controls location, appearance and active area of the current buttonDescriptionvoid 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 <?php swf_startButton($objid, TYPE_MENUBUTTON); swf_addButtonRecord(BSDown|BSOver, $buttonImageId, 340); swf_onCondition(MenuEnter); swf_actionGetUrl("http://www.example.com", "_level1"); swf_onCondition(MenuExit); swf_actionGetUrl("", "_level1"); swf_endButton(); ?> |