home *** CD-ROM | disk | FTP | other *** search
/ Allie's Playhouse / allies-playhouse.bin / theatre.tbk (.txt) < prev    next >
Asymetrix ToolBook File  |  1993-07-23  |  189KB  |  626 lines

  1. System
  2. :PRINTLAYOUT
  3. Allie's Playhouse
  4. s.sbk
  5. playhous.sbk
  6. Zpath
  7. lie's Playhouse
  8. 4Zpath
  9. zpath 
  10. "c:\toolbook\playhous\"
  11. .sbk" 
  12. tbkMCIchk("
  13. q&"theatre.wav alias 
  14. ","",1)
  15. samples","",1)
  16. U("close 
  17. L","")
  18. tbkBitmap("
  19. kid")
  20. status 
  21. displayKid
  22. playsound fx
  23. 3259","",1)
  24. 3259 
  25. 7230","",1)
  26. 7230 
  27. 12341","",1)
  28. 12341 
  29. 17190","",1)
  30. leaveBook
  31. enterBook
  32. playsound
  33. enterBook
  34. zpath
  35. zpath
  36. c:\toolbook\playhous\
  37. playhous.sbk
  38. playhous.sbk
  39. open 
  40. theatre.wav alias theatre
  41. tbkMCIchk
  42. set theatre time format samples
  43. tbkMCIchk
  44. Zpath
  45. leaveBook
  46. close theatre
  47. tbkMCI
  48. close kid
  49. tbkBitmap
  50. status kid window
  51. tbkBitmap
  52. displayKid
  53. playsound
  54. play theatre from 1 to 3259
  55. tbkMCIchk
  56. play theatre from 3259 to 7230
  57. tbkMCIchk
  58. play theatre from 7230 to 12341
  59. tbkMCIchk
  60. play theatre from 12341 to 17190
  61. tbkMCIchk
  62. F4X,?4P
  63. #l,"-y
  64. 4Zpath
  65. playhouse 
  66. .tbk")
  67. default
  68. buttonup
  69. buttonup
  70. playhous.tbk
  71. default
  72. playhouse
  73. Zpath
  74. :PHYSSIZE
  75. xyoffset 
  76. item1 
  77. item2 
  78. p2 + 
  79. p2 + 
  80. buttondown
  81. buttonup
  82. buttondown
  83. item2
  84. item1
  85. xyoffset
  86. buttonup
  87. item2
  88. item1
  89. 8370,5745
  90. 4currentHead
  91. y            -- NO 
  92.  ARE DISPLAYED
  93. "Head1"    -- SHOW THE FIRST ONES
  94. "Head15"    -- 
  95. .LAST 
  96. '"head15"
  97. ) +1)
  98. ) +1)
  99. playSound 2
  100. buttonup
  101. buttonup
  102. Head1
  103. Head1
  104. Head15
  105. head15
  106. playSound
  107. currentHead
  108.     :PHYSSIZE
  109. xyoffset 
  110. item1 
  111. item2 
  112. p2 + 
  113. p2 + 
  114. buttondown
  115. buttonup
  116. buttondown
  117. item2
  118. item1
  119. xyoffset
  120. buttonup
  121. item2
  122. item1
  123. 8475,2040
  124. 4currentEyes
  125. y            -- NO EYES ARE DISPLAYED
  126. "eyes1"     -- SHOW THE FIRST ONES
  127. "eyes6"    -- 
  128. -LAST 
  129. ) +1)
  130. ) +1)
  131. playSound 4
  132. buttonup
  133. buttonup
  134. eyes1
  135. eyes1
  136. eyes6
  137. playSound
  138. currentEyes
  139. :PHYSSIZE
  140. xyoffset 
  141. item1 
  142. item2 
  143. p2 + 
  144. p2 + 
  145. buttondown
  146. buttonup
  147. buttondown
  148. item2
  149. item1
  150. xyoffset
  151. buttonup
  152. item2
  153. item1
  154. 8490,2730
  155. 4currentNose
  156. y            -- NO 
  157.  ARE DISPLAYED
  158. "Nose1"     -- SHOW THE FIRST ONES
  159. "Nose6"    -- 
  160. -LAST 
  161. ) +1)
  162. ) +1)
  163. playSound 3
  164. buttonup
  165. buttonup
  166. Nose1
  167. Nose1
  168. Nose6
  169. playSound
  170. currentNose
  171. :PHYSSIZE
  172. xyoffset 
  173. item1 
  174. item2 
  175. p2 + 
  176. p2 + 
  177. buttondown
  178. buttonup
  179. buttondown
  180. item2
  181. item1
  182. xyoffset
  183. buttonup
  184. item2
  185. item1
  186. 8385,4815
  187. 4currentMouth
  188. y            -- NO 
  189.  ARE DISPLAYED
  190. "Mouth1"     -- SHOW THE FIRST ONES
  191. "Mouth7"    -- 
  192. .LAST 
  193. ) +1)
  194. ) +1)
  195. playSound 1
  196. buttonup
  197. buttonup
  198. Mouth1
  199. Mouth1
  200. Mouth7
  201. Mouth
  202. Mouth
  203. playSound
  204. currentMouth
  205.  :PHYSSIZE
  206. xyoffset 
  207. item1 
  208. item2 
  209. p2 + 
  210. p2 + 
  211. buttondown
  212. buttonup
  213. buttondown
  214. item2
  215. item1
  216. xyoffset
  217. buttonup
  218. item2
  219. item1
  220. 8475,4110
  221. blender
  222. 4currentHead, currentEyes, currentNose, currentMouth
  223. yieldApp()
  224. tbkMCI("status theatre mode","") <> "playing"
  225. tbkMCIchk("
  226. 0","",1)
  227. syslockScreen 
  228. "head"&
  229. "eyes"&
  230. "nose"&
  231. "mouth"&
  232.     -- Check here 
  233. a winning face
  234. buttonUp
  235. buttonUp
  236. yieldApp
  237. status theatre mode
  238. tbkMCI
  239. playing
  240. play theatre from 0
  241. tbkMCIchk
  242. yieldApp
  243. yieldApp
  244. yieldApp
  245. yieldApp
  246. yieldApp
  247. mouth
  248. yieldApp
  249. yieldApp
  250. yieldApp
  251. yieldApp
  252. yieldApp
  253. currentHead
  254. currentEyes
  255. currentNose
  256. currentMouth
  257. >):PHYSSIZE
  258. xyoffset 
  259. item1 
  260. item2 
  261. p2 + 
  262. p2 + 
  263. buttondown
  264. buttonup
  265. buttondown
  266. item2
  267. item1
  268. xyoffset
  269. buttonup
  270. item2
  271. item1
  272. 8400,4815
  273. help theatre
  274. buttonup
  275. buttonup
  276. theatre
  277. mask 
  278. 1440, 1440, 1440, 1440
  279. r<> 0
  280. "Printer 
  281. xavailable, please configure your printer 
  282. Windows."
  283. 360, 360
  284. printerPageBitmap 
  285. "Printed 
  286. fAllie's Playhouse ~D"
  287. buttonup
  288. buttonup
  289. Printer not available, please configure your printer in Windows.
  290. 1:PHYSSIZE
  291. xyoffset 
  292. item1 
  293. item2 
  294. p2 + 
  295. p2 + 
  296. buttondown
  297. buttonup
  298. buttondown
  299. item2
  300. item1
  301. xyoffset
  302. buttonup
  303. item2
  304. item1
  305. 8475,3420
  306. 8475,1350
  307. 4currentHead, currentEyes, currentNose, currentMouth
  308. "head1"
  309. "eyes1"
  310. "nose1"
  311. "mouth1"
  312. "blender" 
  313.  <> ""
  314.  <> ""
  315.  <> ""
  316. <> ""
  317. saveAs
  318. terpage
  319. enterpage
  320. saveAs
  321. enterpage
  322. head1
  323. eyes1
  324. nose1
  325. mouth1
  326. currentHead
  327. currentEyes
  328. currentNose
  329. currentMouth
  330. currentHead
  331. currentEyes
  332. currentNose
  333. currentMouth
  334. saveAs
  335. currentHead
  336. currentEyes
  337. currentNose
  338. currentMouth
  339. IxJ>K
  340. PvQ>R
  341. TZU V
  342. WrX2]
  343. ^f_"`T`
  344. head1
  345. :PHYSSIZE
  346. head2
  347. :PHYSSIZE
  348. head3
  349. :PHYSSIZE
  350. head4
  351. :PHYSSIZE
  352. head5
  353. :PHYSSIZE
  354. head6
  355.  :PHYSSIZE
  356. head7
  357. l%:PHYSSIZE
  358. head8
  359. ):PHYSSIZE
  360. head9
  361. x.:PHYSSIZE
  362. head10
  363. 3:PHYSSIZE
  364. head11
  365. 7:PHYSSIZE
  366. head12
  367. <:PHYSSIZE
  368. head13
  369. @:PHYSSIZE
  370. head14
  371.  E:PHYSSIZE
  372. head15
  373. I:PHYSSIZE
  374. eyes1
  375. nJ:PHYSSIZE
  376. eyes2
  377. 4K:PHYSSIZE
  378. eyes3
  379. K:PHYSSIZE
  380. eyes4
  381. L:PHYSSIZE
  382. eyes5
  383. M:PHYSSIZE
  384. eyes6
  385. LN:PHYSSIZE
  386. mouth1
  387. O:PHYSSIZE
  388. mouth2
  389. O:PHYSSIZE
  390. mouth3
  391. P:PHYSSIZE
  392. mouth4
  393. lQ:PHYSSIZE
  394. mouth5
  395. 4R:PHYSSIZE
  396. mouth6
  397. R:PHYSSIZE
  398. mouth7
  399. S:PHYSSIZE
  400. nose1
  401. T:PHYSSIZE
  402. nose2
  403. PU:PHYSSIZE
  404. nose3
  405. V:PHYSSIZE
  406. nose4
  407. V:PHYSSIZE
  408. nose5
  409. W:PHYSSIZE
  410. nose6
  411. hX:PHYSSIZE
  412. Dialog
  413. 4Zpath, newFace
  414.     -- Get a directory 
  415. face files (*.FAC)
  416. faceList 
  417. getFileList(
  418. N&"*.
  419. init 
  420. dlgInit 
  421. setValue(
  422. ,"fileList",
  423. --DLL function
  424. retValue 
  425. dialog(dlgBox 
  426. getValue(
  427. ,, "listBox 
  428. buttonUp
  429. buttonUp
  430. *.FAC
  431. getFileList
  432. dlgInit
  433. fileList
  434. setValue
  435. dlgBox
  436. dialog
  437. listBox fileList
  438. getValue
  439. retValue
  440. faceList
  441. Zpath
  442. newFace
  443. ZdlgInit
  444. ,g15, To Load a Face:
  445. ,s11,Select a face to load, then click OK.
  446. ,h22,
  447. listbox fileList,l23,
  448. button Cancel,b24,FALSE
  449. button OK,b25,TRUE
  450. ]~[dlgBox
  451. 524480,6,30,20,142,186,,,Load a Face,8,Helv,,7.47,6.52,130.67,38.19,15,1342177287,128, To Load a Face:,0,,11.20,22.61,123.20,15.14,11,1342177280,130,Select a face to load,0,,102.67,68.84,18.29,19.69,22,1342177283,130,question,0,fileList,7.47,52.76,67.20,114.58,23,1352728579,131,,0,Cancel,89.60,115.08,46.67,20.10,24,1342242816,128,Cancel,0,OK,89.60,139.20,46.67,20.10,25,1342242817,128,OK,0
  452. ]ctrlID
  453. Dialog
  454. ]:PHYSSIZE
  455. ^:PHYSSIZE
  456. \_:PHYSSIZE
  457. `:PHYSSIZE
  458. a:PHYSSIZE
  459. 1381119919
  460. 11113
  461. 8111113
  462. 9398913
  463. 11113
  464. 8111113
  465. 31319919
  466. 11113
  467. 8111113
  468. 18183183
  469. 18183183
  470. 111113
  471. 11111
  472. 811913
  473. 111113
  474. 11111
  475. 11913
  476. 38311383
  477. 181333
  478. 38311383
  479. 33133
  480. 181333
  481. 88081
  482. 181333
  483. 33133
  484. S1811
  485. S1811
  486. 89150
  487. 01889
  488. 01811
  489. 1981#
  490. 1981#
  491. 31 #3
  492. 331893
  493. 91133
  494. 31 #3
  495. 331893
  496. 91133
  497. 331893
  498. 91133
  499. 31 #3
  500. 18113
  501. 18113
  502. 18113
  503. 1313S3
  504. 9931393
  505. 1313S3
  506. 9931393
  507. 9931393
  508. 333383
  509. 33338338
  510. 838333
  511. 8813833333
  512. 333383
  513. 33338338
  514. 3838333
  515. 8813833333
  516. 3838333
  517. 8813833333
  518. 33338338
  519. 1888113
  520. 00030138
  521. 00030138
  522.  m30138
  523. 00030138
  524. 11!!1000
  525. 1301!
  526. 00030138
  527. 00030138
  528. 1!!1000
  529. 1301!
  530. 1301!
  531. 00030138
  532. 1301!
  533. 1!!1000
  534. 1301!
  535. 1!!1000
  536. 11!!1000
  537. v=01!
  538. 1!!1000
  539. 1301!
  540. 1!!1000
  541. 1301!
  542. 1!!1000
  543. 1301!
  544. 1!!1000
  545. 11!!1000
  546. 1!!1000
  547. 1301!
  548. 1!!1000
  549. 11181
  550. 111880
  551. 111880
  552. 111880
  553.     1111
  554.     1111
  555.     1111
  556.     1111
  557. 18101
  558. 18101
  559. 18101
  560. 18101
  561. 1!893
  562. 38918
  563. 1!893
  564. 38918
  565. 1!893
  566. 38918
  567. 10989
  568. 10989
  569. 10989
  570. 1019893
  571. 811983
  572. 1981333
  573. 11333
  574. 93183
  575. 83333383
  576. 9398993
  577. 33333
  578. 11333
  579. 93183
  580. 8333333
  581. 11333
  582. 93183
  583. 8333333
  584. 11333
  585. 93183
  586. 83333383
  587. 9398993
  588. 3333383
  589. 9398993
  590. 899199
  591. 899199
  592. 899199
  593. 899199
  594. 38333
  595. 3333833
  596. 38888
  597. 998858
  598. 38888
  599. 998858
  600. 38888
  601. 998858
  602. !98]]
  603. 083]]
  604. 011]]
  605. 90    93
  606. 013]]
  607. 90    93
  608. 83081
  609. 90    93
  610. 18]]P
  611. 98]]P
  612. 81]]P
  613. 013]]P]]
  614. 31]]P
  615. ]]P]]P]]3
  616. 91080
  617. ]]P]]P]]
  618. ]]P]]P]]
  619. ]]P]]P]]
  620. ]]P]]P]]
  621. ]]P]]P]]
  622. 81013
  623. 81013
  624. 81001
  625. playhous.ico
  626.