2010-08-25 68 views

回答

0
var song:SoundChannel=new SoundChannel(); 
      var mp3:Sound=new Sound(new URLRequest("http://localhost/file.mp3")); 
      var positionInBytes:int=0; 


      song=mp3.play(); 
      positionInBytes=song.position/mp3.length*mp3.bytesTotal;