home *** CD-ROM | disk | FTP | other *** search
- no++;
- if(arm == 1)
- {
- setX = _parent._x - 100;
- setY = _parent._y - 80;
- arm = 0;
- }
- else
- {
- setX = _parent._x - 90;
- setY = _parent._y - 70;
- arm++;
- }
- thePoint = {x:setX,y:setY};
- this.localToGlobal(thePoint);
- _root.stage.globalToLocal(thePoint);
- tamaname = no + _parent._parent._name;
- _root.stage.attachMovie("Eshot",tamaname,5 + no);
- if(_parent._parent.muki == "right")
- {
- _root.stage[tamaname]._x = thePoint.x;
- _root.stage[tamaname]._y = thePoint.y;
- }
- else
- {
- _root.stage[tamaname]._x = thePoint.x;
- _root.stage[tamaname]._y = thePoint.y;
- }
-