Post by Phil / November 3rd, 2007
FlashTextFormatter plugin for WordPress
We' reusing the FTF wordpress-plugin to view code snippets/samples. It's a really nice plugin which automatically colors /highlights your ActionScript (and even more: js, php, python). Just put some [ ftf ] brackets around your code ... the plugin does the rest.
We're actually using this fix from zeuslab (FTF w/ SWFObject).
You can also include whole as-files - but my first attempts all failed. After debugging the script for a while, I found a small bug inside the FlashTextFormatter.php. To fix it you just have to change one line of code:
// change line 86 from $ftf_props[$ftf_counter]['file'] = "index.php"; // to sth like this if(ftf_getProp('file', $ftf_counter) != "") $ftf_props[$ftf_counter]['file'] = ftf_getProp('file',$ftf_counter);
Now everything works fine :)

UPDATE:
we switch over to another great code highlighting plugin for wordpress:
http://ideathinking.com/wiki/index.php/WordPress:CodeHighlighterPlugin
but i also made some minor changes so we are now able to load external files to be shown and highlighted. additionally we can set the height of the container.
*it looks like it only works w/ firefox … still fixing it for IE*