Skip to content

Sumit Gupta

bookmarking my life

Calling Path in ActionScript

August 28, 2009 by Sumit Gupta Action Script, Flash

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

Read More

OpenXML : New office file format

August 18, 2009 by Sumit Gupta .NET, ASP.NET, C#.NET, Links, VB.NET/VB

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…

Read More

trace() function to work for Browser

July 26, 2009 by Sumit Gupta Action Script, Flash

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…

Read More

Replace Function for ActionScript 2.0

July 19, 2009 by Sumit Gupta Action Script, Flash

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

Read More

Adding Filters/effect on MovieClip through ActionScript

July 9, 2009 by Sumit Gupta Action Script, Flash

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

Read More

How to write Error Free Code?

June 29, 2009June 29, 2009 by Sumit Gupta Article, Blog: My thoughts, Management

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…

Read More

Pagination Query for SQL Server

June 17, 2009 by Sumit Gupta .NET, SQL

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…

Read More

Posts navigation

← Previous 1 … 19 20 21 22 23 … 55 Next →

© 2025 Sumit Gupta // Powered by WordPress