PDA

View Full Version : Actionscript TAG for YOUR post!



mindfriction
March 13th, 2003, 07:21 AM
Hey people out there!

I havent really seen a "STICKY POST" telling anyone about this. I mean if your familiar with the post tags for formatting your posts it may even be obvious ! But for those who havent 'clicked' there is now the tag, YES the actionscipt tag so you can post your code so it look As format

Eg...

_root.answerCode.codeLabel.text = CodeVars.label2;
_root.answerCode.codeComments.text = CodeVars.comment2;
_root.answerCode.codeSource.text = CodeVars.code1;
_root.answerCode.createNodeButt._visible = false;
_root.answerCode.createEdgeButt._visible = false;



:tie:

RvGaTe
March 14th, 2003, 11:26 AM
i c no one is using them.... but i can tell you guys, they are very very very usefull !!!

all the colors that flash uses are intergrated.... very cool !

CyanBlue
March 16th, 2003, 04:28 AM
trace("I use that tag alot!!!");
trace("I like it better than [ PHP ] [ /PHP ] tag...");:P

bandsaw
September 30th, 2006, 02:37 AM
bump...they should stick this. i had to dig for it.

LittleFenris
October 2nd, 2006, 01:20 PM
Yeah, they really should have a sticky for this topic. I get on people all the time about this very thing because it makes reading their code MUCH harder w/o the [code] tags. In fact I just posted in another thread about this hehe.

lolomedia
October 2nd, 2006, 01:25 PM
how about if you have a blog and you want to show some of your actionscript there... what's the format for that? :cool:

mindfriction
October 4th, 2006, 08:35 PM
@LittleFenris: Here's a list of the Kirupa Forum bb tags http://www.kirupa.com/forum/misc.php?do=bbcode

@lolomedia: I don't know of any open source scripts but I would think you would probably parse the posted code against a massive array of known AS tags, then use CSS to get the syntax-hightling happending

Krilnon
October 4th, 2006, 11:02 PM
There are definitely some syntax highlighting scripts out there. senocular has one: http://senocular.com/projects/ASH/

There might be a newer version of that, but I couldn't find it quickly if so.

If you're using Flex, syntax highlighted output is an option as well.