★ wanayoo — archive 1999 http://www.php.net/manual/fr/function.swf-addbuttonrecord.phpNouvelle recherche | Portail wanayoo

PHP Home Page

Manual Table of Contents
Up to SWF
Quick Reference
English version of this pageGerman version of this pageJapanese version of this pageItalian version of this pageHungarian version of this page
SWF
* swf_openfile
* swf_closefile
* swf_labelframe
* swf_showframe
* swf_setframe
* swf_getframe
* swf_mulcolor
* swf_addcolor
* swf_placeobject
* swf_modifyobject
* swf_removeobject
* swf_nextid
* swf_startdoaction
* swf_actiongotoframe
* swf_actiongeturl
* swf_actionnextframe
* swf_actionprevframe
* swf_actionplay
* swf_actionstop
* swf_actiontogglequality
* swf_actionwaitforframe
* swf_actionsettarget
* swf_actiongotolabel
* swf_enddoaction
* swf_defineline
* swf_definerect
* swf_definepoly
* swf_startshape
* swf_shapelinesolid
* swf_shapefilloff
* swf_shapefillsolid
* swf_shapefillbitmaptile
* swf_shapefillbitmaptile
* swf_shapemoveto
* swf_shapelineto
* swf_shapecurveto
* swf_shapecurveto3
* swf_shapearc
* swf_endshape
* swf_definefont
* swf_setfont
* swf_fontsize
* swf_fontslant
* swf_fonttracking
* swf_getfontinfo
* swf_definetext
* swf_textwidth
* swf_definebitmap
* swf_getbitmapinfo
* swf_startsymbol
* swf_endsymbol
* swf_startbutton
* swf_addbuttonrecord
* swf_oncondition
* swf_endbutton
* swf_viewport
* swf_ortho
* swf_ortho2
* swf_perspective
* swf_polarview
* swf_lookat
* swf_pushmatrix
* swf_popmatrix
* swf_scale
* swf_translate
* swf_rotate
* swf_posround
Manual: swf_addbuttonrecord
View the source code for this pageSearch the site



Previous page
 swf_startbutton
 Updated
Sun, 06 Aug 2000
swf_oncondition 
Next page


swf_addbuttonrecord

(PHP4 >= 4.0RC2)

swf_addbuttonrecord --  Contrôle la situation, l'aparance et la zone active du bouton courant.

Description

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

swf_addbuttonrecord() permet de modifier les caractéristiques d'un bouton. states, définit les états du bouton autorisés : ce peut être : BSHitTest, BSDown, BSOver ou BSUp. shapeid est l'apparance du bouton, c'est à dire l'objet qui représente le bouton. depth est la profondeur de placement du bouton, dans le frame courant.

Exemple 1. Exemple avec Swf_addbuttonrecord()


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


 About Notes


Previous page
 swf_startbutton
 Updated
Sun, 06 Aug 2000
swf_oncondition 
Next page





Who's responsible for this?
Top of this page

Site
Hosting:



Located in
United States
Elements of this website are subject to copyright.
Questions about installing or using PHP should be directed to one of the mailing lists.
Only questions about the website should be directed to webmaster@php.net.