var bounds2:Rectangle = object2.getBounds(object1);
var bounds2:Rectangle = object2.getBounds(object2);