downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

swf_addcolor> <swf_actionwaitforframe
[edit] Last updated: Fri, 24 May 2013

view this page in

swf_addbuttonrecord

(PHP 4)

swf_addbuttonrecordControls location, appearance and active area of the current button

Descrierea

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

Allow you to define the specifics of using a button.

Parametri

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.

Valorile întoarse

Nu este întoarsă nici o valoare.

Exemple

Example #1 swf_addbuttonrecord() example

<?php
swf_startButton
($objidTYPE_MENUBUTTON);
swf_addButtonRecord(BSDown|BSOver$buttonImageId340);
swf_onCondition(MenuEnter);
swf_actionGetUrl("http://www.example.com""_level1");
swf_onCondition(MenuExit);
swf_actionGetUrl("""_level1");
swf_endButton();
?>



add a note add a note User Contributed Notes swf_addbuttonrecord - [0 notes]
There are no user contributed notes for this page.

 
show source | credits | sitemap | contact | advertising | mirror sites