Arul's Blog On Multimedia, Flash MX, Director And Dreamweaver MX
Recent Entries | Guest Book | QuickView | 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]


Thursday, June 26, 2003

Bug.Flash MX: Unicode escape notations are lost while auto formating ActionScipt!

I found this bug while working on my "content management solutions for languages", project . If you want to use unicode characters that are not supported by your system's codepage in your actionscript with out using external '.as' files, the only way is to use Unicode escape notations in the format "\uXXXX" where the 4 digits specified are the UTF code points (more on this in Macromedia website). When you use such notations never use the auto format since it tries to convert all the notations back to characters and for those it can not recognize it replaces the character with the '?' mark.

posted by Arul | link | ^top | next> | add comment
Tuesday, June 24, 2003

News.Flash MX: Robin Debruil's Rich Media Builder.

Robin Debruil has come up with a free utility called Rich Media Builder built on .NET Framework that runs 'tasks' which can be edited visually. The tasks are plugins. It integrates fairly easily with other coding tools.

The first plugin available allows you to compile and test a flash file from a text editor or a build program. It will capture any output, and errors are now 'clickable' (click to go to the offending code). A task can be terminated with a hotkey, a time-out, or by detecting traced output. Multiple files can be built at once, and results can be viewed in Flash (debug or test), an swf, or output only. The build can also be called from a different build program such as Ant, and all output can be logged. more on his web site http://www.richmediabuilder.com.

posted by Arul | link |<prev. | ^top | next> | add comment
Friday, June 20, 2003

Code.Flash MX: An Idea to document your components.

This could be an easy way to document your component. We need track the properties and methods of a component by looping through the instance. Say for example the following example can generate the color syntax xml for any component instance, we need to delete unwanted entries manually that's all.
var d = _global.akComponentDoc=new Object();
d.getColorSyntax = function(obj) {
        var arr = new Array();
        for (i in obj) {
                if (typeof (obj[i]) == 'function' && substring(i, 1, 2) != "my") {
                        arr.push('\t<identifier text=\".'+i+'\"/>\n');
                }
        }
        arr.sort();
        return '<colorsyntax>\n'+arr.join('')+'</colorsyntax>\n';
};
trace(d.getColorSyntax(PushButtonInstance));

The above code generated the xml below
<colorsyntax>
  	<identifier text=".accDoDefaultAction"/>
  	<identifier text=".arrangeLabel"/>
  	<identifier text=".cleanUI"/>
  	<identifier text=".cleanUINotSize"/>
  	<identifier text=".drawFocusRect"/>
  	<identifier text=".drawFrame"/>
  	<identifier text=".drawRect"/>
  	<identifier text=".executeCallBack"/>
  	<identifier text=".getBtnState"/>
  	<identifier text=".getEnabled"/>
  	<identifier text=".getLabel"/>
  	<identifier text=".get_accDefaultAction"/>
  	<identifier text=".get_accName"/>
  	<identifier text=".get_accRole"/>
  	<identifier text=".get_accState"/>
  	<identifier text=".init"/>
  	<identifier text=".initContentPos"/>
  	<identifier text=".invalidate"/>
  	<identifier text=".onDragOut"/>
  	<identifier text=".onDragOver"/>
  	<identifier text=".onPress"/>
  	<identifier text=".onRelease"/>
  	<identifier text=".onReleaseOutside"/>
  	<identifier text=".onRollOut"/>
  	<identifier text=".onRollOver"/>
  	<identifier text=".pressFocus"/>
  	<identifier text=".registerSkinElement"/>
  	<identifier text=".setBtnState"/>
  	<identifier text=".setChangeHandler"/>
  	<identifier text=".setClickHandler"/>
  	<identifier text=".setEnabled"/>
  	<identifier text=".setHitArea"/>
  	<identifier text=".setLabel"/>
  	<identifier text=".setSize"/>
  	<identifier text=".setStyleProperty"/>
  	<identifier text=".txtFormat"/>
	<identifier text=".updateStyleProperty"/>
</colorsyntax>

posted by Arul | link |<prev. | ^top | next> | comments [2]
Monday, June 16, 2003

Update.Arul's Blog: Links disabled in guest book due to porno links by spammers.

I lately noticed that some of the spammers started putting dummy comments with a link to a porno site in my guest book. It is very hard to track because some of the site names does not relate to s-e-x. To avoid such problems I've disabled showing links on my guest book.

posted by Arul | link |<prev. | ^top | next> | add comment
Friday, June 13, 2003

News.Flash MX: ActionScript based 3D Engine by Robin Kohli.

Take a look at Robin Kohli's 3D engine at his website. You can draw 3d Shapes and save them right there. He has given download for the source as well.

posted by Arul | link |<prev. | ^top | next> | comments [1]
Monday, June 02, 2003

Update.Arul's Blog: Bi-Lingual Guest book version 2.

I've released the second version of my Tamil & English Guestbook. Many people asked me what is so special in enabling Tamil typing using flash. It is basically a transliteration engine that works in the background to convert typed english character to their equivalent Tamil words. Say for example typing 'King' produces the exact Tamil word that can be read as King in Tamil.

This new version has lot of improvements over the previous version. I've made it re-sizable and also added Mouse scroll wheel support. Now it is encoding using Tscii Tamil encoding standard, supports both Roman and Tamil 99 Keyboard layouts. Have a look and add your comment there!

posted by Arul | link |<prev. | ^top | next> | comments [1]

footnote:-
Also check the recent entries and feel free to add your comments. I need your comments to improve this blog