Dammit! Id3 tags are not working at all. I'm checking the crossdomain.xml. Grr!

Removed debugging.


git-svn-id: svn+ssh://src.earth.threerings.net/nenya/trunk@707 ed5b42cb-e716-0410-a449-f6a68f950b19
This commit is contained in:
Ray Greenwell
2008-11-15 02:51:04 +00:00
parent 2b81e25445
commit 9da0886afc
@@ -13,6 +13,7 @@ import flash.events.TimerEvent;
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.media.SoundLoaderContext;
import flash.media.SoundTransform;
import flash.net.URLRequest;
@@ -27,7 +28,6 @@ public class Mp3AudioPlayer extends EventDispatcher
{
public function Mp3AudioPlayer (loop :Boolean = false)
{
trace(".............. v3");
_loop = loop;
_positionChecker = new Timer(25);
@@ -45,7 +45,7 @@ public class Mp3AudioPlayer extends EventDispatcher
_sound.addEventListener(Event.ID3, handleId3); // TODO
_sound.addEventListener(IOErrorEvent.IO_ERROR, handleError);
_sound.addEventListener(Event.COMPLETE, handleSoundComplete);
_sound.load(new URLRequest(url));
_sound.load(new URLRequest(url), new SoundLoaderContext(1000, true));
play();
}
@@ -177,7 +177,7 @@ public class Mp3AudioPlayer extends EventDispatcher
protected function handleId3 (event :Event) :void
{
trace("got ID3: Duration is now : " + _sound.length);
trace("Got ID3");
}
/**