Code:
my_mc.onPress = function(){
var xpos = _xmouse;
var ypos = _ymouse;
var currentScaleX = this._xscale;
var currentScaleY = this._yscale;
this.onEnterFrame = function(){
this._xscale = currentScaleX+(_xmouse-xpos);
this._yscale = currentScaleY+(_ymouse-ypos);
}
}
my_mc.onMouseUp = function(){
delete this.onEnterFrame;
}
There is a lot you can do here, add a specific hit area, so the user can only drag from one edge, etc.
as for reading... online is best. Books are good but expensive and the same info can be found online for free. Google for "Flash ActionScript tutorials" or the like.
Bookmarks