home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Diversos / blackjack_pay3.swf / scripts / frame_13 / DoAction.as
Encoding:
Text File  |  2006-09-05  |  2.2 KB  |  91 lines

  1. function place_card0()
  2. {
  3.    setProperty(card0, _X, 170);
  4.    setProperty(card0, _Y, 210);
  5.    setProperty(card0, _rotation, -10 + posCard[0]);
  6. }
  7. function place_card1()
  8. {
  9.    setProperty(card1, _X, 210);
  10.    setProperty(card1, _Y, 210);
  11.    setProperty(card1, _rotation, -5 + posCard[1]);
  12. }
  13. function place_card2()
  14. {
  15.    setProperty(card2, _X, 250);
  16.    setProperty(card2, _Y, 210);
  17.    setProperty(card2, _rotation, posCard[2]);
  18. }
  19. function place_card3()
  20. {
  21.    setProperty(card3, _X, 290);
  22.    setProperty(card3, _Y, 210);
  23.    setProperty(card3, _rotation, posCard[3]);
  24. }
  25. function place_card4()
  26. {
  27.    setProperty(card4, _X, 330);
  28.    setProperty(card4, _Y, 210);
  29.    setProperty(card4, _rotation, posCard[4]);
  30. }
  31. function place_card5()
  32. {
  33.    setProperty(card5, _X, 370);
  34.    setProperty(card5, _Y, 210);
  35.    setProperty(card5, _rotation, posCard[5]);
  36. }
  37. function place_card6()
  38. {
  39.    setProperty(card6, _X, 410);
  40.    setProperty(card6, _Y, 210);
  41.    setProperty(card6, _rotation, posCard[6]);
  42. }
  43. function place_card12()
  44. {
  45.    setProperty(card12, _X, 130);
  46.    setProperty(card12, _Y, 10);
  47.    setProperty(card12, _rotation, -10 + posCard[8]);
  48. }
  49. function place_card13()
  50. {
  51.    setProperty(card13, _X, 170);
  52.    setProperty(card13, _Y, 10);
  53.    setProperty(card13, _rotation, -5 + posCard[9]);
  54.    setProperty("topcard", _X, 170);
  55.    setProperty("topcard", _Y, 10);
  56.    setProperty("topcard", _rotation, -5 + posCard[9]);
  57. }
  58. function place_card14()
  59. {
  60.    setProperty(card14, _X, 210);
  61.    setProperty(card14, _Y, 10);
  62.    setProperty(card14, _rotation, posCard[11]);
  63. }
  64. function place_card15()
  65. {
  66.    setProperty(card15, _X, 250);
  67.    setProperty(card15, _Y, 10);
  68.    setProperty(card15, _rotation, posCard[12]);
  69. }
  70. function place_card16()
  71. {
  72.    setProperty(card16, _X, 290);
  73.    setProperty(card16, _Y, 10);
  74.    setProperty(card16, _rotation, posCard[13]);
  75. }
  76. function place_card17()
  77. {
  78.    setProperty(card17, _X, 330);
  79.    setProperty(card17, _Y, 10);
  80.    setProperty(card17, _rotation, posCard[14]);
  81. }
  82. function place_deck()
  83. {
  84.    setProperty(shadow, _X, -80);
  85.    setProperty(shadow, _Y, -35);
  86.    setProperty(shadow, _rotation, -40);
  87.    setProperty(deck, _X, -80);
  88.    setProperty(deck, _Y, -35);
  89.    setProperty(deck, _rotation, -40);
  90. }
  91.