var kLastSlash:Number = _root._url.lastIndexOf(‘/’);
var baseUrl:String = _root._url.substr(0, kLastSlash+1);
OpenXML : New office file format
When I first heard that Microsoft change the file extension of MS Office Products and add “x” in them, I got surprised as that was not very common practise for…
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…
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.
How to write Error Free Code?
Recently my staff member asked me, “How can I write a Error Free Code?”. hmm.. interesting question. I always ask them to write a error free code and I found…
Pagination Query for SQL Server
In recent past, we got few problem when we need to do Pagination with SQL Server. I specially got frustrated when I saw that MySQL server has “limit” word that…