JS class for syntax coloring in AS3

Hi.
I’m making a JS class, that may be useful for anyone who makes blog/forum where he has to display AS3 code.
Here’re some features that already exist/will be implemented soon:
Code coloring.
Links to manual for core AS3 classes.
Folding.
Search inside the code.

It’s not yet finished, but, I’m working on it and improving… when I have time. If you want, you may use it, but, surely, if you have anything to change/fix/improve in it, I’d greatly apprecate every your input.

Here’s a screenshot of the current version:

And here’re the sources:

I may probably port this to PHP later, so that one may store his source AS files on his server and use a PHP script for displaying AS files in browser. Will see…