Calling Path in ActionScript

var kLastSlash:Number = _root._url.lastIndexOf(‘/’);
var baseUrl:String = _root._url.substr(0, kLastSlash+1);

trace() function to work for Browser

http://yourpalmark.com/2005/07/01/trace-from-the-browser-using-standard-trace/
I try this article and it actually works.
Thanks to Fernando and Ernie, the Flash programmers, who told me about this article and some other great technique to program in ActionScripting.

Replace Function for ActionScript 2.0

function searchAndReplace(holder, searchfor, replacement) {
 temparray = holder.split(searchfor);
 holder = temparray.join(replacement);
 return (holder);
}
Do I need to say anything else ?

Adding Filters/effect on MovieClip through ActionScript

How to enter the Filter effects on MovieClip using ActionScript, A developer way.

Flash website, Do you need Designer or Programmer?

Recently I worked on few website, that were solely made up in flash. These sites looks good, a background music playing, pages change with some animation. Obviously HTML page cannot look better then flash. I was very excited to work on this website. But soon my excitement goes away, when I have to fix the [...]

Sinwave SuperImposition

Lately I go inactive to my blog, but it doesn’t mean I leave blogging. Just that with my new venture i got so busy that I didn’t get time to do fun stuffs. Yesterday, I finish this flash

It was fun working on above flash as this flash doesn’t use any graphics to draw the screen. [...]

Creating Menu at runtime using Flash 8/ActionScript 2.0

You can create menu in your flash application using the following code, however, you need to note one thing that you need to import
mx.controls.*;
mx.data.binding.*; (if you need to create Menu using databinding)
here is the code
var mm:Menu = Menu.createMenu(Me);
mm.addMenuItem({label:”All”});
if (aIndustry.length > 0 ) {
aIndustry.sort();
for (var i=0;i
if (aIndustry[i] != “”) {
mm.addMenuItem({label:aIndustry[i]});
}
}
}
mm.swapDepths(mergerbg_sp);
if (_global.styles.Menu == undefined) {
_global.styles.Menu = new [...]

Next Page »