Free SWF to XAML Converter.

This should interest any one who wants to get into WPF (Windows Presentation Foundation). What interests me is Michael Swanson’s interview in which he explains SWF file format internals.

Read More

Shockwave-india.com moved to another server.

Last week I moved the site to another server. During this time I’ve lost few comments added to the blog, and also some emails. If any of you sent a mail to me or left a comment and couldn’t find it there, please send it again. Sorry for the trouble

Read More

Solution for using relative paths in swfs to load data.

Only starting from Flash 9 and Actionscript 3 we can reliably use relative path to load data. Let me explain the problem. say for example we have an swf file named ‘Slide.swf’ in a folder ‘Slide001′ folder which loads ‘data.xml’ using the following statement my_xml=new XML(); my_xml.onLoad=function(success){ //process the xml...

Read More

Using XMLShortcuts Example.

XML Shortcuts helps to access the XMLNodes with ease. You may read my previous post which compares the XMLShortcuts with XPath from XFactor Studio, XML to Object Prototype, and XMLNode easy access by tatsuo kato Here is a example file, that shows how you can use XMLShortcuts in your MTASC projects. ...

Read More

String.isWhite and String.getWordCount().

This is the same word count function that I showed in the previous post presented in the good old way of adding more properties and methods through the prototype. String object is extened to have isWhite read only property and getWordCount method. 12345678910111213141516171819202122232425262728293031323334String.prototype.addProperty('isWhite', function ()...

Read More

Added a new section – ActionScript2.

To better organize my blog, I’ve added a new section called actionscript2, all the AS2 class files will be placed here for download. I will also convert some of my as1 functions into as2 class files and place them here

Read More

XML and V2 Tree Example 5 – Limit by Depth.

Lets explore how we can hide nodes beyond the predefined depth from rendering in tree. Before hiding the text nodes, the tree looks like this (as per Example 1) with this XML Start with a blank FLA, add a tree component to stage, name it “tree”, add a text area component name it “textArea” Write the following in the first frame ...

Read More

XML and V2 Tree Example 4 – Hiding Text Nodes.

Lets explore how we can hide text nodes from rendering in tree. Before hiding the text nodes, the tree looks like this (as per Example 1) with this XML Start with a blank FLA, add a tree component to stage, name it “tree”, add a text area component name it “textArea” Write the following in the first frame ...

Read More

ColorSyntax Extractor now generates XML for Flash based Syntax Highlighter .

I’ve modified my Color Syntax Extractor to include XML for Igor’s Flash Syntax Highlighter, which is a flash based synctax highlighter for actionscript. You can download the tool from here!...

Read More

XML and V2 Tree Example 3: Tree Search.

Lets enhance the last example by adding search functionality. We need a function that will return the matching nodes as an array. The following function does that for us. Add it to the timeline. 123456789101112131415161718192021222324252627282930313233343536<span style="color: #993300;">function</span> isMatch (s, s2) {      ...

Read More

New RIA Interface for my blog.

Quick Blog Viewer v3 is a Flash based RIA for my blog. Now you can keep track of the posts easily, find out what is new since your last visit, flag your favorite posts. It’s interface should explain how. Check it out at blog/quickview Don’t forget to right click on the grid after selecting something

Read More

Quick Blog Viewer version 3.0 released.

I’m very happy to launch Quick Blog Viewer version 3.0, It is Mail Client kind of interface for my blog. It is also a show case of what we can do in flash using XML, localSharedObject, Flash MX 04 Components, and CellRenderer API. Have a look and Kindly pass on your comments.

Read More

XML and V2 Tree Example 2: Open/Close All.

Lets enhance the last example by adding two buttons to open and close all tree nodes Add the following code to the first frame 1234567891011function openOrCloseAll (x, open:Boolean) {         if (tree.getIsBranch (x)) {                 tree.setIsOpen (x, open, false,...

Read More

I'm back again.

I always thought I will be more productive (on my blog) when I’m alone. But I’m wrong this time. I couldn’t do much when my family was away. Now they are back and I’m also back in this blog Meanwhile my comment boxes were spamed. So I’ve disabled them. What ever you post on the comments box wont appear on the comments but it will be received by me as email. so...

Read More

Actionscript Syntax Highlighting with SE|PY Editor v.1.0.5.4.

SE|PY has become my favorite actionscript editor these days. It’s default color highlighting scheme is very different from Flash IDE. So I’ve modified it to syntax highlight similar to my actionscript highlighting service 2 and exported the settings using File > Import/Export > Export Settings for your convenience. You may download SEPY_ColorStyle.tar.gz and import it into SEPY...

Read More

PriorityQueue Class

Brandan Hall wrote the PriorityQueue (pQueue) class in “Object Oriented Programming with ActionScript” published by New Riders. I’ve converted that class to ActionScript 2 which you may download from here.

Read More

Actionscript for XML pretty printing and color highlighting . XMLHighlighter class

XMLHighlighter class Availability Flash Player 6 (copy the XMLHighlighter class actionscript file to the same folder as the FLA or to the class path). Description Use the methods and properties of the XMLHighlighter class to generate the html code to generate color highlighted pretty printed XML Method summary for the XMLHighlighter...

Read More

Breeze Presentation on "Taking Sketches into full-blown Flash Animations".

Yesterday we really enjoyed the presentation by Chris Georgenes, one of our Team Macromedia Volunteers. He talks about the minute details of animation. Take a look at his great presentation here. If you like to see the resulting animation of his presentation, take a look at his website. Enjoy ...

Read More

Pixel Perfect Drawing Tools for Flash MX04.

So far, whenever in need of pixel accurate graphics in flash, I follow the following steps 1. Enable the snap to pixel option (if not enabled already) 2. Zoom in to see the pixel grid 3. Select Rectangle Tool 4. Select ‘No Color’ for Stroke 5. Draw Pixel Rectangles with the help of snap to pixel The good news is, now we have a better and efficient way to do the same, thanks to Patrick...

Read More

I’m back with a Good News.

Wondering why this blog is in-active for months? I went to India and became a father last month. My son named ‘Tamizh Iniyan‘ was born on 7th April, I was there the whole month really enjoying my stay with him. I came back to Singapore alone on 10th of this month. My wife and son will be joining me only in November I’m feeling like a blind man who got and lost his eyes...

Read More

Solution for skipping files from getting cached by Server and Browser

Cache is a place to store something more or less temporarily. Web pages we’ve visited are stored in our browser’s cache directory on our hard disk. Likewise, ISPs and Web Servers cache web pages which speeds up access times for users, as the page is being read from the cache memory and not downloaded from the actual web site It can become a problem when we are loading external...

Read More

Improved ActionScript() Tracing

The objective of my .toStrong code and ActionScript() function is to generate the actionscript from any object with which we should be able to recreate the object again. My String.toString Prototype does manage the /n and /r properly(thanks to Rob for pointing this to me through his comment). Now I’ve fixed it. Have a look at it here. [UPDATE] included the ActionScript 3 version as well...

Read More

Improved Actionscript Syntax Highlighting with SciTE|Flash

Long back I’ve posted a flash.properties file to replace the one in the SciTEFlash folder to get syntax highlighting as in Flash MX. After getting this tip from hOK’s blog I’ve added the following line style.flash.7=fore:#0000FF To get String highlighting for characters inside single quotes . You can download it from...

Read More

RSS XML Feed Improved

I’ve just updated my blog’s rss feed from RSS 0.91 to RSS2.0. I used Userland‘s RSS 2.0 documentation as the guidelines for doing the change. Now that I included pubDate, guid, and comments tags It will be lot more easier for aggregating.

Read More

I'm Back Again!

Due to some problem with ISP this blog was down for about a weeks time. Now that problem is solved so I’m back again. Because of my new job the frequency of update will be less for a while but you can be sure that I will continue to serve as I did before.

Read More

DRK Message Board Data Grid Sample Errata

Creating a custom cell symbol for datagrid is very easy. Every cell gets a function, setValue and setSize. When the grid is built, resized or value is changed, these functions will be called. Message Board is a datagrid sample application that comes with the The Macromedia MX Developer Resource Kit in which you can send and receive message like a email application. In that sample they have...

Read More

Creating Dynamic Chart with Flash Charting Components.

Here is the dynamic chart example from my Singapore User group Seminar. 12345678910<ul>   <li>Create a text file with the following text and name it <em>chartData1.txt</em>.  I'm using &amp;name= value&amp; syntax instead of usual  name1=value1&amp;name2=value2 for better readability (LoadVars will  ignore the extra...

Read More

I'm back

Thanks to all my well wishers. Now I’m alright and back to work. I will start posting the seminar examples one by one as and when I find time. (I have to cleanup the code before doing it)

Read More

Not Feeling Well

Last Saturday suddenly I’ve fainted and after that I had little blurred vision for 2 days and having head ache till now. I didn’t take it seriously, but my family forced me to take a medical test. So I’ve undergone the tests including X-ray. I’ve been told to take rest for 2 days. With the given tablets I should be alright otherwise I need to under go other...

Read More

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.

Read More