hey guys,
currently i face one problem with the resizing movieclip using action script. I doing a resize on the width of the moviclip. What i got is the movieclip resize on center, but i want is on left. Any idea how to solve it?
the code i use as below:
[COLOR=darkorange]MovieClip.prototype.resizeMe = function(w) {
var speed = 3;
this.onEnterFrame = function() {
this._xscale += (w-this._xscale)/speed;
};
};
[/COLOR]