 			_end = end;
 			_restart = restart;
 			_endHandler = endHandler;
-
-			const transform:SoundTransform = new SoundTransform(realVolume);
+			
+			var transform:SoundTransform = new SoundTransform(realVolume);
 
 			try {
 				if (_loop) {

		override protected function doResume():void {
			super.doResume();
			if (_channel) {
				const transform:SoundTransform = _channel.soundTransform;

				_channel = _sound.play(_pausePosition, 1, transform);
				_channel.addEventListener(Event.SOUND_COMPLETE, handleSoundComplete);

				if (_end != 0) {
					_endTask = GlobalTimeline.schedule(_end - _restart, handleEnd);
				}
			}
		}


		private function handleEnd():void {
			if (_loop) {
				var transform:SoundTransform = _channel.soundTransform;

				_channel.removeEventListener(Event.SOUND_COMPLETE, handleSoundComplete);
				_channel.stop();
