the goal for this project is to write a midi player within as3 (flash 10 allows sound manipulation).
Some open source projects has been made with that idea:
[login to view URL]
[login to view URL]
[][1]
the goal is not to convert a midi into mp3 but play the midi directly with a sf2 sound library and also display a text channel from a .KAR file (a MIDI file that includes texts)