Arul's Blog On Multimedia, Flash MX, Director And Dreamweaver MX
Recent Entries | Guest Book | XML-RSS feed | My Profile | Home
::: About this Blog :::
Welcome to Arul's Blog!
Weblog on Multimedia,
Macromedia Flash MX Flash MX
Macromedia Director Shockwave Studio 8.51 Director
Macromedia Dreamweaver MX Dreamweaver MX
View my profile And me :)
Here I'm going to share my views, opinions and code with you all.

::: Services :::

:. ActionScript Highlighting
:. AS Highlighter v2 new!


::: ActionScript :::
:. toString
:. skipCache
:. getWords
:. getDateFromString
:. colorUtils
:. XMLNode-transformTags
:. Object-copyProperties
:. Object-clone

::: ActionScript 2 :::
:. XMLHighlighter
:. PriorityQueue

::: Archives :::
[September 2002]
[October 2002]
[November 2002]
[December 2002]
[January 2003]
[February 2003]
[March 2003]
[April 2003]
[May 2003]
[June 2003]
[July 2003]
[September 2003]
[October 2003]
[December 2003]
[January 2004]
[February 2004]
[March 2004]
[April 2004]
[May 2004]
[June 2004]
[July 2004]
[December 2004]
[January 2005]
[February 2005]
[March 2005]
[May 2005]
[June 2005]
[July 2005]
[August 2005]
[June 2006]
[July 2006]
[November 2006]
[December 2006]
[January 2007]

::: Time Zone :::
All Times on this blog are
GMT + 5:30 Hours
(Indian Standard Time)

::: Flash Resources :::
:. Flash Components
:. Were-Here Forum
:. Digital Illusion
:. Flashmove Forum
:. Flash Goddess
:. Prototypes
:. Actionscript Toolbox
:. UltraShock
:. Chattyfig
:. Full as a Goog
:. Flog

::: Flashers :::
:. Mike Chambers
:. Greg Burch
:. Branden Hall
:. Samuel Wan
:. Stuart Schoneveld
:. Guy Watson
:. Robin Debreuil
:. Mario Klingemann
:. Moises
:. Aral Balkan
:. Peter Hall
:. Josh Dura
:. Alessandro
:. Brajeshwar
:. Nik Khilnani

::: Small Print :::

© Copyright 2002
R.Arul Kumaran

[Made with Blogger]


ActionScript Highlighter v2
Paste your actionscript (1.0 or 2.0) code here
 
Your feedback about this service
*
Name: *
Email: *
Website:
Country:
  forget personal info.
HTML formatting will be ignored. Insert a link by typing the URL.
User Feedback [27]
read http://www.shockwave-india.com/blog/?archive=2002_10_13_archive.xml#83110761
posted by Arul link Monday, August 30, 2004 @ 7:42 am from Singapore
Arul will you plz tell us how to build a logic to make a parser like yours?
posted by Shahbaz Monday, August 30, 2004 @ 1:09 am from Pakistan
an AS 2.0 version of this would be nice as well... :-)


i dont mind helping...

nik
posted by Nik Khilnani link Thursday, July 22, 2004 @ 2:04 am from United States
quote: "I won't be releasing the source until I clean it up :)
Regards,
Arul"
How's that coming along then..? Could use that on my site ;)
posted by eyezberg link Saturday, May 15, 2004 @ 6:22 pm from France
fds
posted by kim Thursday, May 13, 2004 @ 5:55 am from Australia
Thank you Arul!
In spite of unicode bug, I knew that many
developers in korea use your highlighter. :)

Thanks for this update as one of them.
posted by Ligun link Tuesday, April 13, 2004 @ 4:47 pm from Korea
This is awesome! HOw that "clean-up" of the code comming along, any chance of getting the source? I would love to use this on my server.
posted by Apolo link Friday, March 26, 2004 @ 9:47 am from USA
Hi Ligun,

Now it renders Unicode characters properly including Korean :)
Regards,
Arul
posted by Arul Tuesday, March 23, 2004 @ 12:54 pm from Singapore
Putting the .syn file out there would help the rest of us with AS1 pastebins ....
posted by nokati Friday, March 5, 2004 @ 4:27 pm from Australia
I'm really flattered by the way you feel.
Thank you so much.
And I feel highly honored by your visit. :)
posted by zzun link Thursday, February 26, 2004 @ 10:56 am from Australia
Hi Zzun,

I visited your site and did couple of tests

It was working fine :)

Regards,
Arul
posted by Arul link Wednesday, February 25, 2004 @ 8:19 pm from Singapore
Hi Arul,

I made another actionScript highlighter.
But,it is not complete.

see http://pluszone.net/archives/2004/02/24-PM1717.html
posted by zzun link Wednesday, February 25, 2004 @ 1:05 pm from Korea(2002 WorldCup)
Dude, this thing rules, thank you!
posted by JesterXL link Monday, February 23, 2004 @ 10:41 pm from United States
with the old version of the highlighter you can simply copy from the preview and paste it in Word document. With this new version (because of CSS) you have to save the highlighted text as a html and open in word.

Any way I will update the highlighter with more features soon

Regards,
Arul
posted by Arul link Monday, February 2, 2004 @ 2:18 pm from Australia
and.. how can i use this highlighting result in MS WORD? please give me a tip about it. Thanks.
posted by ligun link Saturday, January 31, 2004 @ 8:25 am from Korea (South)
if you cannot see below links, type manually the URLs to a new explorer.
posted by ligun link Saturday, January 31, 2004 @ 8:17 am from Korea (South)
this tool cannot show korean text correctly.

ex)
[before]
http://cafefiles.naver.net/data4/2004/1/31/48/input.png
[after]
http://cafefiles.naver.net/data3/2004/1/31/49/result.png
posted by ligun link Saturday, January 31, 2004 @ 8:14 am from Korea (South)
I won't be releasing the source until I clean it up :)
Regards,
Arul
posted by Arul link Wednesday, January 28, 2004 @ 10:38 pm from Singapore
So where is the source huh? This is great, but it's not practically to keep coming here every time I need to highlight some code.
posted by Jon Wednesday, January 28, 2004 @ 9:21 pm from United Kingdom
class Test
{
// double-quotes within single-qutoes
private dancer = 'dancer for "money"';
// single-quotes within double-quotes
private dancer = "dancer for 'money'";
// Test line-comment with stream-comment-start /*
public /* private */ people = "Tina Turner";
// well, it works

// Test closing curly-braces }

public checkForComment = "/* test */";
public checkForComment = "// test ";

public checkForComment = '/* test */';
public checkForComment = '// test ';
}
posted by rrrr Monday, January 26, 2004 @ 6:40 am from Canada
Very good!But if we can change the indent size,it will be better :)
Thanks and regards
posted by null Tuesday, January 13, 2004 @ 5:49 am from China
Hi Arul,

i have done just another little
test, but i don't found any
bugs, looks very good.

Here the is the test:
class Test
{
// double-quotes within single-qutoes
private dancer = 'dancer for "money"';
// single-quotes within double-quotes
private dancer = "dancer for 'money'";
// Test line-comment with stream-comment-start /*
public /* private */ people = "Tina Turner";
// well, it works

// Test closing curly-braces }

public checkForComment = "/* test */";
public checkForComment = "// test ";

public checkForComment = '/* test */';
public checkForComment = '// test ';
}

regards, Holger
posted by hOk link Monday, January 12, 2004 @ 8:37 pm from Germany
Now the escape character issue is fixed :)
Regards,
Arul
posted by Arul link Monday, January 12, 2004 @ 3:03 pm from Singapore
Hi hOK,

Oh ya
concept of escape character is yet to be introduced to fix this

Thanks & Regards,
Arul
posted by Arul link Monday, January 12, 2004 @ 8:17 am from Singapore
Hi Arul,

please remove my Email from
my posts, i have enough spam
from these bots today...;-)
posted by hOk link Monday, January 12, 2004 @ 12:03 am from Germany
Hi Arul,

works on most classes perfect.

Following Code breaks:
class Test
{
private static blup = "\"this should be highlighted";
private static blup = "\\"this should not be highlighted;
private static blup = "\\\"this should be highlighted";

private static blup = '\'this should be highlighted';
private static blup = '\\'this should not be highlighted;
private static blup = '\\\'this should be highlighted';
}

I think counting of backslashes
will solve the problem.

regards, Holger
posted by hOk link Monday, January 12, 2004 @ 12:02 am from Germany
I'm keen in fixing the bugs in this. so please post all the bugs you find here

Regards,
Arul
posted by Arul link Monday, January 12, 2004 @ 9:24 am from Singapore

Usage Count: 4564