home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Aventura / robot_warrior.swf / scripts / DefineSprite_238 / frame_6 / DoAction.as
Encoding:
Text File  |  2006-09-05  |  477 b   |  20 lines

  1. _parent.endrain(15,0);
  2. no++;
  3. setX = _X + 150;
  4. setY = _Y - 65;
  5. thePoint = {x:setX,y:setY};
  6. this.localToGlobal(thePoint);
  7. _root.stage.globalToLocal(thePoint);
  8. tamaname = "tama2" + no;
  9. _root.stage.attachMovie("tama2",tamaname,5 + no);
  10. if(_root.stage.topmain.main.muki == "right")
  11. {
  12.    _root.stage[tamaname]._x = thePoint.x;
  13.    _root.stage[tamaname]._y = thePoint.y;
  14. }
  15. else
  16. {
  17.    _root.stage[tamaname]._x = thePoint.x;
  18.    _root.stage[tamaname]._y = thePoint.y;
  19. }
  20.