Skip to content

Sumit Gupta

bookmarking my life

Category: Action Script

Motion Tween: ActionScript 2.0 with MC Tween

June 14, 2010 by Sumit Gupta Action Script, Bookmarked

This is to bookmark the Motion Tween Class I found for AS 2.0. I have use core Tween classes from Macromedia before, but this class looks better in some respect….

Read More

ActionScript to change Registration Point of Movie Clip for Dynamically loaded Movie

February 3, 2010 by Sumit Gupta Action Script

Below is the code I found on some forum that help in changing the registration point of dynamically loaded Images, that help in rotation of movieclip. Basically it only create…

Read More

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

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

© 2025 Sumit Gupta // Powered by WordPress