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…
Tag: ActionScript 2.0
Calling Path in ActionScript
var kLastSlash:Number = _root._url.lastIndexOf(‘/’);
var baseUrl:String = _root._url.substr(0, kLastSlash+1);
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 ?