Automatically formatting ActionScript with HTML
am 27.08.2007 15:10:05 von Malk
I am making a website which deals with flash games, (uploading them
for people to play, helping people make them ect.) and part of this
involves people sharing ActionScript code with each other. I have seen
on many websites formatting code automatically like it would be in,
for example, Flash (colour coding, indenting ect).
I've looked around for a PHP script which could parse blocks of
actionscript and format them using HTML, but I haven't been able to
find any. Does anyone know of anything like this? Preferably open
source?
Re: Automatically formatting ActionScript with HTML
am 27.08.2007 16:54:20 von gosha bine
On 27.08.2007 15:10 Malk wrote:
> I am making a website which deals with flash games, (uploading them
> for people to play, helping people make them ect.) and part of this
> involves people sharing ActionScript code with each other. I have seen
> on many websites formatting code automatically like it would be in,
> for example, Flash (colour coding, indenting ect).
> I've looked around for a PHP script which could parse blocks of
> actionscript and format them using HTML, but I haven't been able to
> find any. Does anyone know of anything like this? Preferably open
> source?
>
try googling for "geshi"
--
gosha bine
makrell ~ http://www.tagarga.com/blok/makrell
php done right ;) http://code.google.com/p/pihipi