2 |
aperonnet |
1 |
<div class="body-wrap">
|
|
|
2 |
<div class="top-tools">
|
|
|
3 |
<a class="inner-link" href="#Ext.air.Sound-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
|
|
|
4 |
<a class="inner-link" href="#Ext.air.Sound-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
|
|
|
5 |
<a class="inner-link" href="#Ext.air.Sound-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
|
|
|
6 |
<a class="bookmark" href="../docs/?class=Ext.air.Sound"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
|
|
|
7 |
</div>
|
|
|
8 |
<h1>Class Ext.air.Sound</h1>
|
|
|
9 |
<table cellspacing="0">
|
|
|
10 |
<tr><td class="label">Package:</td><td class="hd-info">Ext.air</td></tr>
|
|
|
11 |
<tr><td class="label">Defined In:</td><td class="hd-info"><a href="../source/Sound.js" target="_blank">Sound.js</a></td></tr>
|
|
|
12 |
<tr><td class="label">Class:</td><td class="hd-info">Sound</td></tr>
|
|
|
13 |
<tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
|
|
|
14 |
</table>
|
|
|
15 |
<div class="description">
|
|
|
16 |
<br><br><i>This class is a singleton and cannot be created directly.</i> </div>
|
|
|
17 |
|
|
|
18 |
<div class="hr"></div>
|
|
|
19 |
<a id="Ext.air.Sound-props"></a>
|
|
|
20 |
<h2>Public Properties</h2>
|
|
|
21 |
<div class="no-members">This class has no public properties.</div> <a id="Ext.air.Sound-methods"></a>
|
|
|
22 |
<h2>Public Methods</h2>
|
|
|
23 |
<table cellspacing="0" class="member-table">
|
|
|
24 |
<tr>
|
|
|
25 |
<th class="sig-header" colspan="2">Method</th>
|
|
|
26 |
<th class="msource-header">Defined By</th>
|
|
|
27 |
</tr>
|
|
|
28 |
<tr class="method-row expandable">
|
|
|
29 |
<td class="micon"><a class="exi" href="#expand"> </a></td>
|
|
|
30 |
<td class="sig">
|
|
|
31 |
<a id="Ext.air.Sound-play"></a>
|
|
|
32 |
<b>play</b>( <code>String file</code>, <span class="optional" title="Optional">[<code>Number startAt</code>]</span> ) : void <div class="mdesc">
|
|
|
33 |
<div class="short">Play a sound.</div>
|
|
|
34 |
<div class="long">
|
|
|
35 |
Play a sound. <div class="mdetail-params">
|
|
|
36 |
<strong>Parameters:</strong>
|
|
|
37 |
<ul><li><code>file</code> : String<div class="sub-desc">The file to be played. The path is resolved against applicationDirectory</div></li><li><code>startAt</code> : Number<div class="sub-desc">(optional) A time in the sound file to skip to before playing</div></li> </ul>
|
|
|
38 |
<strong>Returns:</strong>
|
|
|
39 |
<ul>
|
|
|
40 |
<li><code>void</code></li>
|
|
|
41 |
</ul>
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|
|
|
44 |
</div>
|
|
|
45 |
</td>
|
|
|
46 |
<td class="msource">Sound</td>
|
|
|
47 |
</tr>
|
|
|
48 |
</table>
|
|
|
49 |
<a id="Ext.air.Sound-events"></a>
|
|
|
50 |
<h2>Public Events</h2>
|
|
|
51 |
<div class="no-members">This class has no public events.</div>
|
|
|
52 |
</div>
|