+++ /dev/null
-<html>\r
-<head>\r
- <title>The source code</title>\r
- <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
- <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
-</head>\r
-<body onload="prettyPrint();">\r
- <pre class="prettyprint lang-js"><div id="cls-Ext.air.Sound"></div>/**\r
- * @class Ext.air.Sound\r
- * \r
- * @singleton\r
- */\r
-Ext.air.Sound = {\r
- <div id="method-Ext.air.Sound-play"></div>/**\r
- * Play a sound.\r
- * @param {String} file The file to be played. The path is resolved against applicationDirectory\r
- * @param {Number} startAt (optional) A time in the sound file to skip to before playing \r
- */\r
- play : function(file, startAt){\r
- var soundFile = air.File.applicationDirectory.resolvePath(file);\r
- var sound = new air.Sound();\r
- sound.load(new air.URLRequest(soundFile.url));\r
- sound.play(startAt);\r
- }\r
-};\r
-</pre> \r
-</body>\r
-</html>
\ No newline at end of file