rendered paste bodywidthplus_mc.onPress = function()
{
this.onEnterFrame = function() {
var oldwidth:Number = test_mc._width;
test_mc._xscale++;
var newwidth:Number = test_mc._width;
test_mc._x -= (newwidth - oldwidth)/2;
}
}
widthplus_mc.onRelease = function() {
this.onEnterFrame = null;
}
widthmin_mc.onPress = function()
{
this.onEnterFrame = function() {
var oldwidth:Number = test_mc._width;
test_mc._xscale--;
var newwidth:Number = test_mc._width;
test_mc._x -= (newwidth - oldwidth)/2;
}
}
widthmin_mc.onRelease = function() {
this.onEnterFrame = null;
}
heightplus_mc.onPress = function()
{
this.onEnterFrame = function() {
var oldHeight:Number = test_mc._height;
test_mc._yscale++;
var newHeight:Number = test_mc._height;
test_mc._y -= (newHeight - oldHeight)/2;
}
}
heightplus_mc.onRelease = function() {
this.onEnterFrame = null;
}
heightmin_mc.onPress = function()
{
this.onEnterFrame = function() {
var oldHeight:Number = test_mc._height;
test_mc._yscale--;
var newHeight:Number = test_mc._height;
test_mc._y -= (newHeight - oldHeight)/2;
}
}
heightmin_mc.onRelease = function() {
this.onEnterFrame = null;
}
test_mc.onPress = function() {
test_mc.startDrag();
}
test_mc.onRelease = function() {
test_mc.stopDrag();
}