Skip to content

Sumit Gupta

bookmarking my life

Tag: ActionScript 2.0

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

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

© 2025 Sumit Gupta // Powered by WordPress