11 February 2008

UPDATE: Actionscript 3 Code Highlighting with GeSHi

By: Michael Boucher

Just completed an Actionscript 3.0 Language file for GeSHi. Pretty simple to put together, but fairly time consuming going through the Actionscript 3 documentation at Adobe.com and parsing through all the functions, classes, keywords, etc.

I should have the file up and ready for download soon. I still have a few tweaks to make so that everything parses correctly. Namely, reverse ordering the keywords. I'll have to write an automated script to do that. However, for now you can see an example of it in action. Just check out my Actionscript 3.0 — Full-screen Centered Flash post.

I'm using the CodeHighlighter plug-in on my site which uses GeSHi 1.0.7.17.

***UPDATE***

I've included the AS3 Language file here: GeSHi AS3 Language File v0.5

Filed under: Adobe Flash, PHP, Actionscript 3.0, Side Projects, WordPress — Michael Boucher @ 1:20 am

Article has been tagged:

, , , , , , ,

3 Comments »

  1. Comment by AndyCook — 12 February 2008 @ 1:51 am

    This looks pretty good so far. Did you ever finish it? Nice website too. It looks really great and is easy to navigate unlike other WordPress blogs I’ve seen

  2. Comment by Michael Boucher — 12 February 2008 @ 2:03 am

    Andy,

    Haven’t had the time to complete it. It works for the most part however I need to re-order the entries so they are in alpha-order to help prevent weird formatting issues. Probably a 5-10 minute fix tops though.

    I will e-mail the file over to you and hopefully get around to posting it soon.

    Regards,
    -mt

  3. Comment by AndyCook — 12 February 2008 @ 3:00 am

    Thanks mt. I was just in the middle of changing the colors of an older ActionScript file for WP-Syntax, but now I am going to use yours instead. Thanks a lot. That must have been a lot of work and I really appreciate you emailing it over.

RSS feed for comments on this post. TrackBack URL

Leave a comment

You must be logged in to post a comment.