2 Replies Latest reply on Jul 7, 2008 11:59 PM by octagonatron

    Adobe ID3 Example BROKEN

      So big surprise, i look on Adobe live docs for help on loading ID3 information from media files, find an example, paste it in flex and it doesn't compile, please help me!
      Here is the example on live docs, of course, as usual it doesn't work (I mean, hey why test this stuff before posting it right? RIGHT!)
      import flash.events.Event;
      import flash.media.ID3Info;
      import flash.media.Sound;

      var s:Sound = new Sound();
      s.addEventListener(Event.ID3, onID3InfoReceived);

      function onID3InfoReceived(event:Event)
      var id3:ID3Info = event.target.id3;

      trace("Received ID3 Info:");
      for (var propName:String in id3)
      trace(propName + " = " + id3[propName]);

      Perhaps im just dense (Hell, I know I'm dense) but can anyone tell me what about this example is broken so i can get it working?

      The example is here:

      If it works for you I think I'll eat my hands.

      Thanks in advance!