X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/ee06f37b0f6f6d94cd05a6ffae556660f7c4a2bc..c930e9176a5a85509c5b0230e2bff5c22a591432:/air/src/Sound.js diff --git a/air/src/Sound.js b/air/src/Sound.js deleted file mode 100644 index 4fac739f..00000000 --- a/air/src/Sound.js +++ /dev/null @@ -1,26 +0,0 @@ -/* - * Ext JS Library 0.30 - * Copyright(c) 2006-2009, Ext JS, LLC. - * licensing@extjs.com - * - * http://extjs.com/license - */ - -/** - * @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); - } -};