ActionScript 3 Language file for GeSHi

As I wanted to post AS3 code with syntax coloring, I researched it a bit and found GeSHi, a PHP syntax highlighter, for which you can create language files quite easily. There is currently no AS3 file available in GeSHi though, so I decided to build one.

For now it's available here, but I hope it will make it into GeSHi's next releases. It's following the FlexBuilder2 colors for the default style, but it is stylable with CSS.

Should you see any missing keyword or anything, please contact me so I can update it.

Edit : I updated this file to v1.0.1, I was so focused on scraping data that I forgot the "this" keyword in the process, that's now fixed.

Download : AS3 Language file

November 30, 2007 // ActionScript, PHP

Post a comment

Subscribe to this RSS Feed Comments

2007-12-16 01:09:05


Hey Seld,

Thanks for the GeSHi plugin, I know a lot of people use that highlighter.

Not sure if you are aware of SyntaxHighlighter or not, but its a JavaScript syntax solution (doesn't require any server side component). I've been using it for a while and really like it. I created an AS3 syntax plugin for it as well if you're interested.

2007-12-16 03:44:48


Yes I've seen a friend using it recently, but then I had just finished integrating GeSHi with TinyMCE so for now I'll stay on GeSHi.

Having it in done by a JS script is quite elegant though, I admit.

2008-03-10 09:35:51

antoine schirer

thanks !


2008-06-02 18:52:01


Thx a lot :)

2009-05-13 13:57:32

Kamilla Viktor

Hej Hej Jordi Boggiano

Thank you very much for your work on the actionscript3.php!

I don't know if you read this, but I may have found a missing keyword: 'extends' used in creation of classes. I saw your work in dotclear, but could't find a way to communicate with tou there. I changed my file locally, but thought I'd let you know, in case you'd want to update!

I may be following that project with great interest and would like to know how to make requests officially.


Kamilla - [kamvik-at-gmail-dot-com]