note 35805 added to function.swf-addbuttonrecord
| From: | mathe at bluemento dot de | Date: | Mon, 15 Sep 2003 12:51:56 +0000 |
| Subject: | note 35805 added to function.swf-addbuttonrecord | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-56523@lists.php.net to get a copy of this message | ||
An easy to understand example to make a link-button:
swf_startbutton ($this->gClick, TYPE_PUSHBUTTON);
swf_addButtonRecord (BSDown|BSOver|BSHitTest|BSUp, $this->gButton, $this->gDepth);
swf_onCondition (OverUptoOverDown);
swf_actionGetUrl ($this->gotoUrl, $this->target);
swf_endbutton();
This example is out of a link-object.
gClick is the ObjectId which you need for the swf_placeobject.
gButton is a defined shape which defines the clickarea.
rest is clear i think.
So, I think this is the easiest way making a button.
----
Manual Page -- http://www.php.net/manual/en/function.swf-addbuttonrecord.php
Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+35805
Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+35805&report=yes
Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+35805&report=yes