dead
11.10.2014, 17:37
Выходит исключение, когда пытаюсь прочитать файл имеющий русские буквы в названии:
function ID3Tag(path:String){
if(getExtension(path)=="mp3"){
var song_sound:Sound = new Sound();
var _soundURL:URLRequest = new URLRequest(path);
song_sound.load(_soundURL);
//song_sound.addEventListener(IOErrorEvent.IO_ERROR, handler);
//song_sound.addEventListener(Event.ID3, function(event:Event){readID3(song_sound,path,event);});
}
}
ID3Tag(file.url);
function ID3Tag(path:String){
if(getExtension(path)=="mp3"){
var song_sound:Sound = new Sound();
var _soundURL:URLRequest = new URLRequest(path);
song_sound.load(_soundURL);
//song_sound.addEventListener(IOErrorEvent.IO_ERROR, handler);
//song_sound.addEventListener(Event.ID3, function(event:Event){readID3(song_sound,path,event);});
}
}
ID3Tag(file.url);