回覆列表
  • 1 # 使用者4243767351955

    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 = [];

    }

  • 中秋節和大豐收的關聯?
  • 偵察衛星主要包括幾種型別?