Помогите пожалуйста понять в чем проблема. При тестировании в самом Flash звук загружается и воспроизводиться нормально с удаленного сервера, но в браузере он уже не работает ни на локалке , ни на сервере.
Вот класс:

Код AS3:
package
{
public class StreamPlayer
{
import flash.media.Sound;
import flash.media.SoundLoaderContext;
import flash.media.SoundChannel;
import flash.media.SoundTransform;
import flash.net.URLRequest;
import flash.events.MouseEvent;
var s:Sound;
var req:URLRequest;
var context:SoundLoaderContext;
var pos:int = 0;
var flagPlay:int = 0;
var ch:SoundChannel;
var tr:SoundTransform;
function InitPlayer():void
{
this.s = new Sound();
this.req = new URLRequest("http://213.227.254.2:8994/");
this.context = new SoundLoaderContext(5000, true);
this.tr = new SoundTransform(0.5);
}
public function PlaySound():void
{
if(this.flagPlay == 0)
{
this.InitPlayer();
this.s.load( this.req, this.context );
this.ch = this.s.play();
this.flagPlay = 1;
}
}
public function StopSound():void
{
if(this.flagPlay == 1)
{
this.ch.stop();
this.s.close();
this.flagPlay = 0;
}
}
public function SetVolume(intVolume:int = 50):void
{
tr.volume = intVolume/100;
if(this.flagPlay == 1)
{
ch.soundTransform = tr;
}
}
}
}