home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / hypercrd / hc2_x / tongubng.sea / TongueBingo / background_3618.txt < prev    next >
Text File  |  1991-08-27  |  4KB  |  169 lines

  1. -- background: 3618 from stack: in
  2. -- bmap block id: 4367
  3. -- flags: 4000
  4. -- background id: 0
  5. -- name: Tulos
  6. ----- HyperTalk script -----
  7. on OpenCard
  8.   global oikeita, v├ñ├ñri├ñ, kesto
  9.   do the script of this card --tune if any
  10.   put oikeita into field "oikeita"
  11.   put v├ñ├ñri├ñ into field "v├ñ├ñri├ñ"
  12.   set numberFormat to "0.#"
  13.   put kesto/60 into field "aikaa"
  14.   -- put field "aikaa"/oikeita&&"aikaa/oikea sana" -- speed
  15.   repeat with rivi = 1 to 12
  16.     if field "aikaa" < last word of line rivi of field "Kielivelhot" or line rivi of field "Kielivelhot" is empty then
  17.       ask "Please enter your well respected name:" with "Word Wizard"
  18.       if it is not empty then
  19.         put it&&field "aikaa"&return before line rivi of fld "Kielivelhot"
  20.         put empty into line 13 of fld "Kielivelhot" -- clear rest!
  21.       end if
  22.       exit repeat
  23.     end if
  24.   end repeat
  25. end openCard
  26.  
  27.  
  28.  
  29. -- part 1 (field)
  30. -- low flags: 01
  31. -- high flags: 2004
  32. -- rect: left=416 top=99 right=145 bottom=482
  33. -- title width / last selected line: 0
  34. -- icon id / first selected line: 0 / 0
  35. -- text alignment: 65535
  36. -- font id: 6
  37. -- text size: 36
  38. -- style flags: 0
  39. -- line height: 48
  40. -- part name: Oikeita
  41.  
  42.  
  43. -- part 2 (field)
  44. -- low flags: 01
  45. -- high flags: 2004
  46. -- rect: left=417 top=147 right=192 bottom=483
  47. -- title width / last selected line: 0
  48. -- icon id / first selected line: 0 / 0
  49. -- text alignment: 65535
  50. -- font id: 6
  51. -- text size: 36
  52. -- style flags: 0
  53. -- line height: 48
  54. -- part name: Vèèriè
  55.  
  56.  
  57. -- part 3 (field)
  58. -- low flags: 01
  59. -- high flags: 2004
  60. -- rect: left=376 top=260 right=293 bottom=491
  61. -- title width / last selected line: 0
  62. -- icon id / first selected line: 0 / 0
  63. -- text alignment: 65535
  64. -- font id: 6
  65. -- text size: 18
  66. -- style flags: 0
  67. -- line height: 24
  68. -- part name: Aikaa
  69.  
  70.  
  71. -- part 4 (button)
  72. -- low flags: 00
  73. -- high flags: A000
  74. -- rect: left=457 top=295 right=340 bottom=505
  75. -- title width / last selected line: 0
  76. -- icon id / first selected line: 29114 / 29114
  77. -- text alignment: 1
  78. -- font id: 0
  79. -- text size: 12
  80. -- style flags: 0
  81. -- line height: 16
  82. -- part name: Return
  83. ----- HyperTalk script -----
  84. on mouseUp
  85.   visual effect barn door close
  86.   pop card
  87. end mouseUp
  88.  
  89.  
  90. -- part 5 (field)
  91. -- low flags: 01
  92. -- high flags: 0000
  93. -- rect: left=42 top=86 right=309 bottom=313
  94. -- title width / last selected line: 0
  95. -- icon id / first selected line: 0 / 0
  96. -- text alignment: 0
  97. -- font id: 5
  98. -- text size: 14
  99. -- style flags: 0
  100. -- line height: 18
  101. -- part name: Kielivelhot
  102. ----- HyperTalk script -----
  103. on mouseUp
  104.   play "Hallelujah"
  105.   if the shiftKey is down and the optionKey is Down then
  106.     answer "Do you really want to clear this splendid 'Top┬á12'-list?" with "Clear" or "Oh, No!"
  107.     if it is "Clear" then put empty into me
  108.   end if
  109. end mouseUp
  110.  
  111.  
  112. -- part 6 (button)
  113. -- low flags: 00
  114. -- high flags: 0001
  115. -- rect: left=455 top=32 right=62 bottom=491
  116. -- title width / last selected line: 0
  117. -- icon id / first selected line: 1011 / 1011
  118. -- text alignment: 1
  119. -- font id: 0
  120. -- text size: 12
  121. -- style flags: 0
  122. -- line height: 16
  123. -- part name: Kotiin
  124. ----- HyperTalk script -----
  125. on mouseUp
  126.   visual zoom close
  127.   go home
  128. end mouseUp
  129.  
  130.  
  131.  
  132.  
  133. -- part 7 (button)
  134. -- low flags: 00
  135. -- high flags: 0000
  136. -- rect: left=404 top=209 right=256 bottom=453
  137. -- title width / last selected line: 0
  138. -- icon id / first selected line: 0 / 0
  139. -- text alignment: 1
  140. -- font id: 0
  141. -- text size: 12
  142. -- style flags: 0
  143. -- line height: 16
  144. -- part name: tiuku
  145. ----- HyperTalk script -----
  146. on mouseUp
  147.   play "Bell"
  148. end mouseUp
  149.  
  150.  
  151. -- part 8 (button)
  152. -- low flags: 00
  153. -- high flags: A003
  154. -- rect: left=349 top=307 right=331 bottom=450
  155. -- title width / last selected line: 0
  156. -- icon id / first selected line: 0 / 0
  157. -- text alignment: 1
  158. -- font id: 0
  159. -- text size: 12
  160. -- style flags: 0
  161. -- line height: 16
  162. -- part name: Switch Tongue
  163. ----- HyperTalk script -----
  164. on mouseUp
  165.   visual effect barn door close to black
  166.   pop card
  167.   send mouseUp to button "Switch Tongue"
  168. end mouseUp
  169.