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.
User Contributed Notes
swf_addbuttonrecord
swf_addbuttonrecord
mathe at bluemento dot de
15-Sep-2003 12:51
15-Sep-2003 12:51
hotkey at hehe dot com
03-May-2001 02:09
03-May-2001 02:09
Hi, everyone!
Just to prevent you from killing yourselves (I was close to it): Keep in mind to give a SHAPE-id as an argument. Don't try anything else...
[I wanted to create a text-button... bad luck.]
c ya!
HotKey ^ http://www.SPR.AT

swf_actionwaitforframe