var mcArr:Array = [];
var _clickX:Number;
var _clickY:Number;
var _mcArr:Array;
mc2.onPress = function():Void{
_clickX = _xmouse;
_clickY = _ymouse;
var _tempMC:MovieClip = this.duplicateMovieClip("mc" + getNextHighestDepth(), getNextHighestDepth());
_tempMC.startDrag();
_tempMC.onPress = function():Void{
this.startDrag();
}
_tempMC.onRelease = _tempMC.onReleaseOutside = function():Void{
stopDrag();
this._mc = _tempMC;
_mcArr.push(_tempMC);
mc2.onRelease = mc.onReleaseOutside = function():Void{
if(_clickX + _clickY
this._mc.removeMovieClip();
for(var i in _mcArr){
var _mc:MovieClip = _mcArr[i];
_mc.removeMovieClip();
_mcArr = [];
var mcArr:Array = [];
var _clickX:Number;
var _clickY:Number;
var _mcArr:Array;
mc2.onPress = function():Void{
_clickX = _xmouse;
_clickY = _ymouse;
var _tempMC:MovieClip = this.duplicateMovieClip("mc" + getNextHighestDepth(), getNextHighestDepth());
_tempMC.startDrag();
_tempMC.onPress = function():Void{
this.startDrag();
}
_tempMC.onRelease = _tempMC.onReleaseOutside = function():Void{
stopDrag();
}
this._mc = _tempMC;
_mcArr.push(_tempMC);
}
mc2.onRelease = mc.onReleaseOutside = function():Void{
if(_clickX + _clickY
this._mc.removeMovieClip();
}
stopDrag();
}
for(var i in _mcArr){
var _mc:MovieClip = _mcArr[i];
_mc.removeMovieClip();
}
_mcArr = [];
}