+++ /dev/null
-/*\r
- * Ext JS Library 0.30\r
- * Copyright(c) 2006-2009, Ext JS, LLC.\r
- * licensing@extjs.com\r
- * \r
- * http://extjs.com/license\r
- */\r
-\r
-/**\r
- * @class Ext.air.Sound\r
- * \r
- * @singleton\r
- */\r
-Ext.air.Sound = {\r
- /**\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