Source of: /manual/en/class.swfbutton.php
<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/book.ming.inc";
$setup = array (
'home' =>
array (
0 => 'index.php',
1 => 'PHP Manual',
),
'head' =>
array (
0 => 'UTF-8',
1 => 'en',
),
'this' =>
array (
0 => 'class.swfbutton.php',
1 => 'SWFButton',
),
'up' =>
array (
0 => 'book.ming.php',
1 => 'Ming (flash)',
),
'prev' =>
array (
0 => 'function.swfbitmap.getwidth.php',
1 => 'SWFBitmap->getWidth',
),
'next' =>
array (
0 => 'function.swfbutton.addaction.php',
1 => 'SWFButton->addAction',
),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);
manual_header();
?>
<div>
<h1 class="title">The SWFButton class</h1>
<div class="partintro">
<div id="swfbutton.intro" class="section">
<h2 class="title">Introduction</h2>
<p class="para">
SWFButton.
</p>
</div>
<div id="swfbutton.synopsis" class="section">
<h2 class="title">Class synopsis</h2>
<div class="classsynopsis">
<div class="ooclass"><b class="classname">SWFButton</b></div>
<div class="classsynopsisinfo">
<span class="ooclass">
<b class="classname">SWFButton</b>
</span>
{</div>
<div class="classsynopsisinfo classsynopsisinfo_comment">/* Methods */</div>
<div class="methodsynopsis dc-description">
<span class="type">void</span> <span class="methodname"><b>addAction</b></span>
( <span class="methodparam"><span class="type"><a href="class.swfaction.php" class="type SWFAction">SWFAction</a></span> <tt class="parameter">$action</tt></span>
, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$flags</tt></span>
)</div>
<div class="methodsynopsis dc-description">
<span class="type">SWFSoundInstance</span> <span class="methodname"><b>addASound</b></span>
( <span class="methodparam"><span class="type"><a href="class.swfsound.php" class="type SWFSound">SWFSound</a></span> <tt class="parameter">$sound</tt></span>
, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$flags</tt></span>
)</div>
<div class="methodsynopsis dc-description">
<span class="type">void</span> <span class="methodname"><b>addShape</b></span>
( <span class="methodparam"><span class="type"><a href="class.swfshape.php" class="type SWFShape">SWFShape</a></span> <tt class="parameter">$shape</tt></span>
, <span class="methodparam"><span class="type">int</span> <tt class="parameter">$flags</tt></span>
)</div>
<div class="methodsynopsis dc-description">
<span class="type">SWFButton</span> <span class="methodname"><b>__construct</b></span>
( <span class="methodparam">void</span>
)</div>
<div class="methodsynopsis dc-description">
<span class="type">void</span> <span class="methodname"><b>setAction</b></span>
( <span class="methodparam"><span class="type"><a href="class.swfaction.php" class="type SWFAction">SWFAction</a></span> <tt class="parameter">$action</tt></span>
)</div>
<div class="methodsynopsis dc-description">
<span class="type">void</span> <span class="methodname"><b>setDown</b></span>
( <span class="methodparam"><span class="type"><a href="class.swfshape.php" class="type SWFShape">SWFShape</a></span> <tt class="parameter">$shape</tt></span>
)</div>
<div class="methodsynopsis dc-description">
<span class="type">void</span> <span class="methodname"><b>setHit</b></span>
( <span class="methodparam"><span class="type"><a href="class.swfshape.php" class="type SWFShape">SWFShape</a></span> <tt class="parameter">$shape</tt></span>
)</div>
<div class="methodsynopsis dc-description">
<span class="type">void</span> <span class="methodname"><b>setMenu</b></span>
( <span class="methodparam"><span class="type">int</span> <tt class="parameter">$flag</tt></span>
)</div>
<div class="methodsynopsis dc-description">
<span class="type">void</span> <span class="methodname"><b>setOver</b></span>
( <span class="methodparam"><span class="type"><a href="class.swfshape.php" class="type SWFShape">SWFShape</a></span> <tt class="parameter">$shape</tt></span>
)</div>
<div class="methodsynopsis dc-description">
<span class="type">void</span> <span class="methodname"><b>setUp</b></span>
( <span class="methodparam"><span class="type"><a href="class.swfshape.php" class="type SWFShape">SWFShape</a></span> <tt class="parameter">$shape</tt></span>
)</div>
}</div>
</div>
</div>
<h2>Table of Contents</h2><ul class="chunklist chunklist_reference"><li><a href="function.swfbutton.addaction.php">SWFButton->addAction</a> — Adds an action</li><li><a href="function.swfbutton.addasound.php">SWFButton->addASound</a> — Associates a sound with a button transition</li><li><a href="function.swfbutton.addshape.php">SWFButton->addShape</a> — Adds a shape to a button</li><li><a href="function.swfbutton.construct.php">SWFButton->__construct</a> — Creates a new Button</li><li><a href="function.swfbutton.setaction.php">SWFButton->setAction</a> — Sets the action</li><li><a href="function.swfbutton.setdown.php">SWFButton->setDown</a> — Alias for addShape(shape, SWFBUTTON_DOWN)</li><li><a href="function.swfbutton.sethit.php">SWFButton->setHit</a> — Alias for addShape(shape, SWFBUTTON_HIT)</li><li><a href="function.swfbutton.setmenu.php">SWFButton->setMenu</a> — enable track as menu button behaviour</li><li><a href="function.swfbutton.setover.php">SWFButton->setOver</a> — Alias for addShape(shape, SWFBUTTON_OVER)</li><li><a href="function.swfbutton.setup.php">SWFButton->setUp</a> — Alias for addShape(shape, SWFBUTTON_UP)</li></ul>
</div>
<?php manual_footer(); ?>