Tips.PHP: Removing empty strings, NULL, FALSE, and negative numbers from Array

Often we need to remove empty elements from our array. For example when we split a string with space, we can get the words and also blank strings when there are two or more spaces put together. We can use array_filter function for rescue. When we call array_filter with out passing the filter function it removes all values that evaluate to...

Read More

Setting up Flex 2 SDK on Fedora Core 6 – Part 1 – Installing Flash Player 9.

This Visual Guide can help an average windows user to setup flex 2 SDK and start building flex applications in the Linux platform. Part 1 shows how to install both standalone and plugin version of the flash 9 player. Stay tuned for...

Read More

TextField.onScroller().

It is an Event handler; invoked when one of the text field scroll properties changes. When the scroll properties can change? Either when the text of the text field changes or when the size of the text field is altered. It fires the onScroller event and updates the maxscroll, and maxhscroll properly when text is changed. But when we dynamically change the size (using _width, and _height) It is...

Read More

ActionScript Highlighter Version 2 Released!

Hi Everyone! I’m happy to announce the launch of Actionscipt highligther v2. I’ve fixed many of bugs in the previous version (hope I fixed all). Now this new version fully supports Actionscript 2.0 and uses CSS styles to color the keywords so you can easily change it to your favorite colors. Help me by finding the bugs and list them all in the comments. Have a look at it...

Read More

Comparing components version 1 and 2: PushButton

The purpose of showing this is two fold. One is to show difference in the properties and methods exposed by the Push Button component in V1 and V2. Second is to show case how easy and useful it is to use my ActionScript() function to see what’s inside a component. I just dragged and dropped a push button on stage and named it as “_btn” then used the following code to...

Read More

Updated my ActionScript() function

Arrays and Functions can have other properties attached to it. But my .toString() method and ActionScript() function does not account for it. Now I’ve rewritten the code to include those other properties as well. Also now it takes care of the properties with undefined values. Take a look at the new ActionScript() function here. [UPDATE] included the ActionScript 3 version as well It...

Read More

Unicode escape notations generator.

As I mentioned already, for using Unicode characters in the FLA file the only way is to use notations. Here I have made an application which can convert the typed string into the escape sequence. Once I add some more functionality to it I will add to the services in this website, until then use the application...

Read More

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.

Read More

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...

Read More

Now on Linux Server

Finally I changed my ISP. I had problems with my previous ISP, they often go offline for about a weeks time without notice Since I’ve shifted to Linux now all my links are case sensitive. If you find any broken link or missing swf please add a comment here I will rectify it ASAP.

Read More

Getting Older…

Today is my Birthday! Not much of celebrations. This time my wife is with me that is the difference. As many people do, I’m also thinking of taking resolutions. I will be more focused in choosing my field. Also I will dedicate some of my time to keep this blog updated frequently.

Read More

Correction to Object.toAS() version 2!

Ampre’s code has a bug in handling Array of strings (refer to my previous post). Since he is just enclosing the result of original Array.toString() with square backets it returns [a,b,10] when it is supposed to return ['a', 'b' ,10]. Just replacing his version of Array.prototype.toString with the following code fixes it. [UPDATE] included the ActionScript 3 version as well It became...

Read More

Team Macromedia Volunteer!

Last year I was selected as a Team Macromedia Volunteer for Flash. But I kept quiet waiting for my profile to be featured in Macromedia site. Today my name is included in the list and my profile is also featured on the Macromedia site. Let me share the joy with you all ...

Read More

Better Object-toAS() Code

As you all already know my Object.toAS() code does fail with circular references. Ampre has replied with the following code in prototype, which is sleeker and also can addresses the circular reference issue to some extent. Here is that code [UPDATE] included the ActionScript 3 version as well It became lot more simpler with the regular expressions ActionScript 3.0 ...

Read More

I will be back soon!

You might have noticed the lack of posts in my blog. It is because I came to india for my sister’s marriage. Another good news is I will bring my wife when I’m back to Singapore. I missed her for about an year. (she was in India while I was in Singapore)

Read More

New Quickviewer Section added

After little improvement, my quick blog viewer application now available as a new section in my blog, take a look at it here. It is not yet complete as per my plan. I will keep on improving it

Read More

Quick Blog Viewer Alpha for My Blog

Browsing my blog should be lot more easier with this. Here is the alpha version of my Quick Blog Viewer. Since the day one I’m thinking about creating a flash based easy to use interface for quick overview of my entire blog, only today I’m able to come up with something functional. I’m using this XML xml file for the data. You might have noticed that I’m always...

Read More

Easy way to highlight the links in flash dynamic text

Yet another transformTags() example. You all know that links in flash text won’t highlight with blue color and underline as it does in browser. If you want to highlight all the links in your dynamic text box you may use the following object as the format object to transformTags to achieve the results as shown below. ActionScript 1.0 ...

Read More

Remoting Helper Component

Many Java, .NET and Coldfusion MX developers are now jumping into Flash Remoting. The problem they face when they are not much familiar with actionsript is in testing their server side remoting script. Every time they have to go to the flash developer for testing. To solve this problem I’ve developed a component called RemotingHelper which allows you to define the GatewayUrl, name of the...

Read More

Arul's Blog now syndicated in FLOG

Today flog started syndicating my blog. Thanks to David Humphreys, now my blog has more wider coverage. Also I’ve noticed that goggle ranking for the blog page is jumped from 4 to 7 (when I started this blog 4 months back it was only 3). Links given in MoiK78 Blog and onRelease() can be one of the reason. Thanks to Moises and Aral Balkan. Search engines like google, and yahoo are also...

Read More

Macromedia Tips Library

I just noticed that Macromedia now has a Tips Library in the Designer & Developer Center, where we can share our favorite product tips. Take a look and post your tips at http://www.macromedia.com/desdev/tips_library?

Read More

Creating a Talking Application in Flash

Here I will show how to create a light weight talking application in flash. It is one of the Examples I showed in the Singapore User Group Session. Our task is fairly simple, Creating an audio file (preferably MP3) with all the words we want our application to speak. Using that audio in a movieclip as a streaming audio and placing frame labels(to another empty layer) to split the whole audio...

Read More

User Group Session in Singapore

FlashMove’s Singapore user group is going to organize a seminar on 3D Tools, Optimising Movies and Using Components. I’m one going to be of the speakers covering the following topics Understanding Components Putting components in to real use Building dynamic graphs using charting components Building dynamic tree navigation using FTree component Making Flash to Speak –...

Read More

User Group Session in Singapore

FlashMove’s Singapore user group is going to organize a seminar on 3D Tools, Optimising Movies and Using Components. I’m one going to be of the speakers covering the following topics Understanding Components Putting components in to real use Building dynamic graphs using charting components Building dynamic tree navigation using FTree component Making Flash to Speak –...

Read More

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

Read More

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

Read More

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...

Read More

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

Read More

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

Read More

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

Read More