X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775:/docs/source/Sound.html diff --git a/docs/source/Sound.html b/docs/source/Sound.html deleted file mode 100644 index 722c6c34..00000000 --- a/docs/source/Sound.html +++ /dev/null @@ -1,28 +0,0 @@ - - - The source code - - - - -
/** - * @class Ext.air.Sound - * - * @singleton - */ -Ext.air.Sound = { -
/** - * Play a sound. - * @param {String} file The file to be played. The path is resolved against applicationDirectory - * @param {Number} startAt (optional) A time in the sound file to skip to before playing - */ - play : function(file, startAt){ - var soundFile = air.File.applicationDirectory.resolvePath(file); - var sound = new air.Sound(); - sound.load(new air.URLRequest(soundFile.url)); - sound.play(startAt); - } -}; -
- - \ No newline at end of file