AS3 to rtf or html?

I am searching for a tool which I can use to export an ActionScript 3 files to rtf or html, with code coloring, which I can import later in Word documents. SEPY ActionScript editor has something similar, however It works for AS2 syntax. Any ideas?


[COLOR=Red] package [/COLOR]{
    [COLOR=Red]public class[/COLOR] SomeClass{
    }
}