The Right-Click Menu in Flash

The right click menu is actually called the context menu. I did not know that. I had to go through several forums and blogs on the net before stumbling upon this piece of information.
Usually one does not need to bother about this menu. But if you are working on a game, you might want to [...]

Hyperlink in actionscript 3

Regarding hyperlinks, there has been a significant change from Actionscript 2 to Actionscript 3.
In Actionscript 2, the following line of code would have sufficed to open a window in your default browser for this blog.

getURL("http://www.muktosoft.com/blog/");

But in Actionscript 3, you need to instantiate an URLRequest then call navigateToURL to (:) navigate to your target url. [...]

Mute button in actionscript 3

This is what I usually do, but it may or may not be the easiest or most sophisticated way of implementing a mute button in actionscript 3. I use Flash CS3 IDE and actionscript 3.0 for the coding, this solution might not work in earlier versions.
To make a mute button, first we need to define [...]

Suspended tween in Flash

for(i:int=0;i<box.length;i++) {
var tween:Tween = new Tween(box[i], “x”, Strong.easeOut, 0, 100, 1, true);
tween.looping = false;
}

should be replaced by

tweens:Array = new Array();
for(i:int=0;i<box.length;i++) {
var tween:Tween = new Tween(box[i], “x”, Strong.easeOut, 0, 100, 1, true);
tween.looping = false;
tweens.push(tween);
}