AS2.0 DesignTool
Following up on an earlier post, here is the AS2.0 version of the dragToPosition X & Y coordinate tracer.
class com.sitedaniel.utils.Design
{
public static function dragToPosition(mc:MovieClip):Void
{
mc.onPress = function():Void
{
startDrag(this, false);
}
mc.onRelease = function():Void
{
this.stopDrag();
trace(this._x + ', ' + this._y);
}
}
}


LinkedIn
Twitter
![Validate my RSS feed [Valid RSS]](http://blog.sitedaniel.com/valid-rss.png)