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, October 31, 2002

Update.Arul's Blog: Big Hit today!

My Blog use to get around 50 page views/day.
After FullasaGoog started syndicating my blog it became 100+
But today suddenly it jumped above 500 !!! :)
Thanks to Waldo Smeets and Guy Watson for mentioning me in their blog.

posted by Arul | link | ^top | next> | comments [1]
Thursday, October 31, 2002

Update.Arul's Blog: Reference Viewer Tutorials, on the Way!

Many people asked me for the source of my reference viewer.
It is just functional; I've not optimized the code yet.
So, as I progress in doing that will also write articles on how I've done that.

posted by Arul | link |<prev. | ^top | next> | add comment
Wednesday, October 30, 2002

News.Flash MX: Reference XML Viewer Pre Alpha Release!

I can not hold it with in myself any more!!! I'm almost done with the reference viewer. This will be useful for testing your reference documents. This pre alpha version supports "see also" type of cross reference links too :) ( see the stringUtilsRef.xml for example).
Still it is not a complete application, it is just a demo preview only.

download from here and try it your self. I will now start working on the refEdit the reference xml editor. :)

posted by Arul | link |<prev. | ^top | next> | comments [8]
Monday, October 28, 2002

Update.Arul's Blog: Full as a Goog now syndicates Arul's Blog!!!

I sent a mail asking them to check my blog on Saturday.
Wow!!! They are so prompt that Sunday I can see my blog there. :)
I know my RSS XML is missing few data like date and time, even then they are able to make it.
I'm very happy about it, for me it is a big move like going public for a private limited company.
Thanks Geoff Bowers

posted by Arul | link |<prev. | ^top | next> | add comment
Sunday, October 27, 2002

Update.Arul's Blog: ActionScript Highlighting Service.

Flash community is very powerful and active around the word. There are many experts from all parts of the world to serve this community

As a tiny element of this community what best I can do from my side?
After a long thinking I've decided to serve the people those who serve the community with my tools and services to help them serve better.

Here is my first offering, an online service for syntax highlighting actionscript which can increase the readability of scripts posted on the web.

I've created an interface to post your code and get the syntax highlighted version. Take a look and make use of them from here

Now there is no option to modify the colors, add your own keywords and properties. I will add those options soon!

posted by Arul | link |<prev. | ^top | next> | add comment
Sunday, October 27, 2002

Code.Flash MX: Rendering HTML in FlashMX.

Rendering of HTML text in browsers and flash text box is different in the fact that;
spaces, tabs and line brakes are ignored in browsers but are rendered in flash text box.
I faced this problem in my reference panel application and wrote the following script as a solution.

String.prototype.onlyHTML = function() {
        var str = "";
        var prevWhite = true;
        for (var i = 0; i<this.length; i++) {
                var code = this.charCodeAt(i);
                white = code<=32;
                if (white) {
                        if (!prevWhite && (code == 9 || code == 32)) {
                                str += " ";
                        }
                } else {
                        str += this.charAt(i);
                }
                prevWhite = white;
        }
        return str;
}
It removes the extra spaces, tabs and also replaces line brakes with space

posted by Arul | link |<prev. | ^top | next> | add comment
Saturday, October 26, 2002

News.Flash MX: Flash Remoting with PHP.

Nik has come out with a solution for flash remoting with PHP. I haven't got time to test it.
Check it out your self at his website.

posted by Arul | link |<prev. | ^top | next> | add comment
Friday, October 25, 2002

News.Flash MX: Another weblog from India.

My friend Darshan Sawardekar (well known for his components) has come up with his blog. I can proudly say that I acted as a catalyst in this reaction ( see I'm remembering my good old chemical technology days !!!).

Also take a look at his Building Flash MX Components that don't "PRE"-LOAD! tutorial. I saw branden hall also commented about this as a must read article for component developers in his blog !

Good Start Darshan :)

posted by Arul | link |<prev. | ^top | next> | comments [1]
Friday, October 25, 2002

Demo.Flash MX: Improved Reference Panel Application in Flash.

I'm updating my reference panel application. I've made some minor improvements in the look and feel and now it sorts the entries alphabetically. Still lot more to be done :)


Also I'm planning to create an editor/viewer for reference xml

posted by Arul | link |<prev. | ^top | next> | comments [7]
Wednesday, October 23, 2002

Update.Arul's Blog: Link in Quasimondo.

I saw this through my referrer list. Now Arul's blog is listed under Flash Blogs & News section in Quasimondo!!!
Mario Klingemann is the first person to give a link to my blog :)

Thanks Mario

posted by Arul | link |<prev. | ^top | next> | add comment
Sunday, October 20, 2002

News.Flash MX: Were Not Here?

What happened to Were-Here Forum? I'm not able access it.
If you know the reason please post it here in the comments.

posted by Arul | link |<prev. | ^top | next> | add comment
Saturday, October 19, 2002

Update.Arul's Blog: New Administrator for web.apps forum!!

Robin Debreuil, the great man who wrote the book "Building Object Oriented Applications in Flash 5" (see the sample chapters here) is running a nice forum called web.apps forum. I'm very happy to announce that now I'm one of the administrators of that forum. Working with people like him is always interesting.

As you all may already know I'm also the moderator for Flash MX and Director in DI Forum :)

posted by Arul | link |<prev. | ^top | next> | comments [2]
Saturday, October 19, 2002

Code.Flash MX: Object.copyProperties(toObj, PropertyStr, exclude?).

When you need to copy only certain properties of one object to another object, this code will be useful.
I've also given an example on how to use it. take a look at it here

posted by Arul | link |<prev. | ^top | next> | add comment
Saturday, October 19, 2002

Update.Arul's Blog: Slow Server.

I've noticed that this site sometimes becomes irritatingly slow or unavailable. Something should be wrong in the server. I've sent a mail to my ISP and waiting for their reply

posted by Arul | link |<prev. | ^top | next> | add comment
Thursday, October 17, 2002

Demo.Flash MX: Recreating Reference Panel in Flash.

I've created this just to demonstrate the capabilities of my not yet released path2tree component and create online reference panel for the actionscript in my actionscript section.

It is not even alpha version. But demonstrates the basic functionality. Here I'm recreating the Flash MX reference panel. I need to do lot of modifications and improvements. This is just a preview.

posted by Arul | link |<prev. | ^top | next> | comments [4]
Thursday, October 17, 2002

Code.Flash MX: Object to ActionScript Utility.

Many times we need this!
We create objects and arrays and modify them through code to get them as we want. Finally the object is ready but every time it is created using the same complex procedure when the SWF runs.
This affects the performance to some extent.
Also sometimes we need to see what's in that object at that movement for debugging (including remote debugging)
So I've created this code to convert Objects and Arrays to Action Script string which can be used to construct the object again.

posted by Arul | link |<prev. | ^top | next> | add comment
Thursday, October 17, 2002

News.Flash MX: Syntax Highlighting ActionScript.

Creating html tags to color highlight actionscript will be very useful for flash related websites. I'm talking about this for long time. I'm still in the process of creating one with flash itself in my spare time. My current code takes more time to this highlighting. Still I've not given it up ;)

I also thought of server side solutions. Before starting to make one myself, I checked for available open source solutions, and came across the following PHP based solutions.

I found few bugs (highlighting the keywords in the commented lines etc.) in both the solutions. I will also put in some efforts to get it fixed. I'm using Actionscript Highlighter in the ActionScript Section

I will make it available as a service in my blog soon

posted by Arul | link |<prev. | ^top | next> | comments [1]
Tuesday, October 15, 2002

Update.Arul's Blog: Action Script section added!!

Today I've added ActionScript section, which provides syntax highlighted version of the action script snippets
Download option for the .as files is also available
Check it out at http://www.shockwave-india.com/blog/actionscript
Color highlighting has minor bugs like highlighting the keyword in the comment etc. Which I will fix soon

posted by Arul | link |<prev. | ^top | next> | add comment
Monday, October 14, 2002

Update.Arul's Blog: Guest Book now ready!!

Today I've completed the guest book and also improved the layout and search feature. Now I started liking PHP for its power, simplicity and speed (I'm very new to PHP. I've just started using it for this blog).
Because I'm working on this I'm not able to put any new flash content.
But I will add more content soon

posted by Arul | link |<prev. | ^top | next> | add comment
Thursday, October 10, 2002

News.Flash MX: FUIComponentClass ActionScript Dictionary.

FUIComponentClass is the base class of all of the Macromedia components. Understanding that will help you in building your own component.

Peter Hall has compiled a dictionary for it; you can take a loot at it here
[via: peterjoel blog]

posted by Arul | link |<prev. | ^top | next> | add comment
Tuesday, October 08, 2002

Demo.Flash MX: Interactive IK Skeleton .

Today I just saw this through random search. It is an interesting interactive inverse kinematics animation of a skeleton (oh! so many 'i'). I liked it

Take a look at it here

posted by Arul | link |<prev. | ^top | next> | comments [3]
Tuesday, October 08, 2002

Bug.Flash MX: Workaround for Hollow Movieclip Mask problem.

Darshan is building his next version of slideshow component and this problem is bugging him now.

I found out one workaround yesterday. When the mask movieclip made open (instead of keeping it with a closed hole) even with a hairline gap makes the mask work properly. Hiding the hairline gap we created is another trick. I will write about it later

Today I found another trick. When your mask is based on a rectangle with a hollow space inside you can use the following technique. We just need to change the sharp top left corner to rounded corner or cut out a triangle portion from the top left corner. Then it masks properly

posted by Arul | link |<prev. | ^top | next> | comments [2]
Monday, October 07, 2002

Update.Arul's Blog: Comment system added!

I just finished coding the comments system in php.
It may have bugs! so please bear with me.
Please do comment about the blog entries.
I need your feed back to give more useful content :)

posted by Arul | link |<prev. | ^top | next> | comments [2]
Sunday, October 06, 2002

Bug.Flash MX: Masking with Hollow Movieclip.

Darshan pointed out about this problem to me, I also checked.

If you use a movieclip with a hollow interior as the mask it does not mask correctly, via actionscript or otherwise.

However plain fills with hollow interiors work.

posted by Arul | link |<prev. | ^top | next> | add comment
Friday, October 04, 2002

News.Flash MX: Flash Studio PRO 1.5 released.

Flash Studio is a third party program for creating screen savers and applications out of projector files. The new pro version has some major additions.

The updates are massive and unique including enabling joystick control, running applications in hidden windows, and sending email directly from the projector file. A full list of additions can be seen on Flash Studio's website.

The program is free for non-commercial use. :)
You can download a copy from the website. Samples of the program in action are also available.
[via: actionscript.com]

posted by Arul | link |<prev. | ^top | next> | comments [1]
Thursday, October 03, 2002

Update.Arul's Blog: Dynamic Tree Example Updated.

Today I have updated the FTree component and .tab file example which I posted yesterday.
This update just expands all the branches by default.

posted by Arul | link |<prev. | ^top | next> | add comment
Thursday, October 03, 2002

News.Multimedia: MIT Open Source Courseware!!

If you are interested in developing e-learning content you may find this link useful.
MIT is Open Sourcing some of its courses and course content.
[via: Flash Distracted]

posted by Arul | link |<prev. | ^top | next> | add comment
Thursday, October 03, 2002

Update.Arul's Blog: XML Feed URL Changed.

My Blog's XML Feed link was previously pointing to a PHP file. Now I have changed it to point shockwave-india.com/blog/xmlfeed/ folder.
Now no mater what technology I use, I never need to change the URL.

posted by Arul | link |<prev. | ^top | next> | comments [1]
Wednesday, October 02, 2002

Examples.Flash MX: Dynamic Tree using FTree Component and .tab file.

Here I am going to explain how we can build a dynamic tree using FTree Component that comes with Flash UI Components Set 2.

Hierarchical nature of XML makes it more suitable for building Tree Views But I have desided to use simple tab file (Tab delimited text file) which containes the path to build the tree like "root/branch/branchof the branch" and the URL in each line.
Take a look at the text file which I used to build the tree below.

 

Note: My Inspirations is a long list I've mentioned only few here to keep this example simple :)


To implement my code in your projects just follow the instructions below
  • Step 1. Preparing the file:
    • Create a new flash movie and drag and drop FTree Component from the components window, resize it to fit your needs.
    • Name the instance as "my_tree"
  • Step 2. Preparing the data:
    • Copy the file sample tab file from here to the same folder
      [or]
    • Create a new text file in the same folder and name it as "TreeData.txt"
    • type the tree path like "my root/my folder/my subfolder" followed by minimum one tab then type the URL
      (you can use as many tabs as you want to keep them like colums in your text editer)
    • repeat this step until you finish all the items
  • Step 3. Adding the code:
    • Download my code from here and copy paste it into the first frame of your flash file
    • Modify it to suit your needs
    • Publish and have fun :)

posted by Arul | link |<prev. | ^top | next> | comments [4]
Wednesday, October 02, 2002

News.Flash MX: Pre-Alpha version of FCF Chat.

Greg Burch and Mike Chambers are working on a new frame work for multiuser applications with Flash Communication Server.
You can see the pre-alpha version of their chat application here
[via:mesh on MX]

posted by Arul | link |<prev. | ^top | next> | add comment

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