home *** CD-ROM | disk | FTP | other *** search
/ Allie's Playhouse / allies-playhouse.bin / colorbk.tbk (.txt) < prev    next >
Asymetrix ToolBook File  |  1993-09-19  |  73KB  |  677 lines

  1. Printed with Allie's Playhouse 
  2. 4currentColor, paintTool, currentPattern, Zpath
  3. zpath 
  4. "c:\toolbook\playhous\"
  5. .sbk" 
  6. 240,50,100 -- Set the default color (
  7. 254 -- 
  8. "pattern1" 
  9. B"magic" 
  10. 0,75.3125,0
  11. "roller" 
  12. setSpecialCursor(brush)
  13.     -- Load 
  14. sounds
  15. tbkMCIchk("
  16. &"colors.wav alias 
  17. ","",1)
  18. samples","",1)
  19. -- Painting routine
  20. , waitTime
  21. 4prevTarget,prevColor,prevPattern
  22.         -- STORE DATA FOR UNDO
  23. playSound
  24. ("status 
  25.  mode","") 
  26. playing
  27. yieldApp()
  28. (360),
  29. (100),
  30. (100)
  31. eatClicks()
  32.             --
  33.             --    
  34.             --    
  35. (360),
  36. (100),
  37. (100)
  38.             --    
  39.             --    
  40.             --    
  41.             --    
  42.             --    
  43.             --
  44.             -- 
  45.  fill 
  46. playOops
  47. ReDO    
  48. redoColor 
  49. redoPattern 
  50.     -- Undo
  51. -- Reset 
  52. 4fromCD, authoring
  53. hand)
  54. ("close 
  55. ","")
  56.     -- Save paintings on 
  57. user 
  58. on CD
  59. a <> "
  60. g <> 
  61. tbkBitmap("
  62. pkid")
  63. saveAs
  64. ("stop 
  65. ","")
  66. 262154 
  67.  292064","",1)
  68. "darkGray"
  69.  54364 
  70.  70777","",1)
  71. "lightGray"
  72.  70777 
  73. 82371","",1)
  74. 82371 
  75. 87328","",1)
  76. "lightCyan"
  77. 87328 
  78.  90167","",1)
  79.  90167 
  80.  94843","",1)
  81.  94843 
  82.  96109","",1)
  83. "purple"
  84.  96109 
  85.  97399","",1)
  86.  97399 
  87.  109384","",1)
  88. "lightYellow"
  89.  109384 
  90.  117904","",1)
  91. "lightBlue"
  92.  117904 
  93.  126831","",1)
  94.  126831 
  95.  145804","",1)
  96.  145804 
  97.  155734","",1)
  98. "darkBlue"
  99.  155734 
  100.  163842","",1)
  101. "darkCyan"
  102.  163842 
  103.  177154","",1)
  104. "darkGreen"
  105.  177154 
  106.  179359","",1)
  107. "orange"
  108.  179359 
  109.  205385","",1)
  110. "darkPurple"
  111.  205385 
  112.  220250","",1)
  113. "darkRed"
  114.  220250 
  115.  232562","",1)
  116. "pink"
  117.  232562 
  118.  258672","",1)
  119. "lightPurple"
  120.  258672 
  121.  262154","",1)
  122.  292064 
  123.  304190","",1)
  124. -- THIS NEEDS TO BE FIXED
  125. c"signature"
  126.  type 
  127. 0","")
  128. displayKid
  129. eBook
  130. buttonup
  131. enterbook
  132. saveAs
  133. playSound
  134. playOops
  135. leaveBook
  136. enterbook
  137. zpath
  138. zpath
  139. c:\toolbook\playhous\
  140. playhous.sbk
  141. zpath
  142. playhous.sbk
  143. buttonup
  144. pattern1
  145. buttonup
  146. setSpecialCursor
  147. open 
  148. colors.wav alias colors
  149. tbkMCIchk
  150. set colors time format samples
  151. tbkMCIchk
  152. brush
  153. currentColor
  154. paintTool
  155. currentPattern
  156. Zpath
  157. buttonup
  158. playSound
  159. solidFill
  160. buttonup
  161. pattern1
  162. status colors mode
  163. tbkMCI
  164. yieldApp
  165. yieldApp
  166. yieldApp
  167. yieldApp
  168. eatClicks
  169. playSound
  170. playing
  171. magic
  172. prevTarget
  173. prevColor
  174. prevPattern
  175. currentColor
  176. currentPattern
  177. sound
  178. waitTime
  179. playOops
  180. yieldApp
  181. yieldApp
  182. yieldApp
  183. redoPattern
  184. redoColor
  185. prevTarget
  186. prevColor
  187. prevPattern
  188. leaveBook
  189. setSpecialCursor
  190. close colors
  191. tbkMCI
  192. close kid
  193. tbkBitmap
  194. fromCD
  195. authoring
  196. default
  197. saveAs
  198. default
  199. playSound
  200. stop colors
  201. tbkMCI
  202. magic
  203. play colors from 262154 to  292064
  204. tbkMCIchk
  205. darkGray
  206. play colors from  54364 to  70777
  207. tbkMCIchk
  208. lightGray
  209. play colors from  70777 to 82371
  210. tbkMCIchk
  211. play colors from 82371 to 87328
  212. tbkMCIchk
  213. lightCyan
  214. play colors from 87328 to  90167
  215. tbkMCIchk
  216. green
  217. play colors from  90167 to  94843
  218. tbkMCIchk
  219. yellow
  220. play colors from  94843 to  96109
  221. tbkMCIchk
  222. purple
  223. play colors from  96109 to  97399
  224. tbkMCIchk
  225. play colors from  97399 to  109384
  226. tbkMCIchk
  227. lightYellow
  228. play colors from  109384 to  117904
  229. tbkMCIchk
  230. lightBlue
  231. play colors from  117904 to  126831
  232. tbkMCIchk
  233. black
  234. play colors from  126831 to  145804
  235. tbkMCIchk
  236. white
  237. play colors from  145804 to  155734
  238. tbkMCIchk
  239. darkBlue
  240. play colors from  155734 to  163842
  241. tbkMCIchk
  242. darkCyan
  243. play colors from  163842 to  177154
  244. tbkMCIchk
  245. darkGreen
  246. play colors from  177154 to  179359
  247. tbkMCIchk
  248. orange
  249. play colors from  179359 to  205385
  250. tbkMCIchk
  251. darkPurple
  252. play colors from  205385 to  220250
  253. tbkMCIchk
  254. darkRed
  255. play colors from  220250 to  232562
  256. tbkMCIchk
  257. play colors from  232562 to  258672
  258. tbkMCIchk
  259. lightPurple
  260. play colors from  258672 to  262154
  261. tbkMCIchk
  262. sound
  263. playOops
  264. play colors from  292064 to  304190
  265. tbkMCIchk
  266. status kid window
  267. tbkBitmap
  268. displayKid
  269. Times New Roman
  270. ayhouse
  271. 0,945
  272. 50,2820
  273. System
  274. :PRINTLAYOUT
  275. Allie's Playhouse
  276. saveAs
  277. tbkMCI("
  278. c:\toolbook\playroom\samples\cow.wav alias mysound","")
  279. 0 wait","")
  280. ^close 
  281. playhous.sbk
  282. buttonup
  283. buttonup
  284. roller
  285. currentColor
  286. paintTool
  287. currentPattern
  288. buttonup
  289. roller
  290. currentColor
  291. currentPattern
  292. paintTool
  293. author
  294. default
  295. leaveBook
  296. default
  297. default
  298. saveAs
  299. default
  300. * Allie's Playhouse
  301. colorBook
  302. J!$#b(
  303. border
  304. outline2
  305. >&"sel") 
  306. tbkMCI("stop colors","")
  307. tbkMCIchk("play 
  308. 22097 
  309.  39616","")
  310. yieldApp()
  311. buttondown
  312. buttonup
  313. buttondown
  314. buttonup
  315. stop colors
  316. tbkMCI
  317. play colors from 22097 to  39616
  318. tbkMCIchk
  319. yieldApp
  320. previous
  321. :PHYSSIZE
  322. Leftsel
  323. :PHYSSIZE
  324. >&"sel") 
  325. tbkMCI("stop colors","")
  326. tbkMCIchk("play 
  327.  22097 
  328.  39616","")
  329. yieldApp()
  330. buttondown
  331. buttonup
  332. buttondown
  333. buttonup
  334. stop colors
  335. tbkMCI
  336. play colors from  22097 to  39616
  337. tbkMCIchk
  338. yieldApp
  339. right
  340. :PHYSSIZE
  341. rightsel
  342.     :PHYSSIZE
  343. outline
  344. pattern1
  345. 4currentPattern, currentColor
  346. syslockScreen 
  347. "outline2" 
  348. H- 45, -45
  349. buttonup
  350. buttonup
  351. outline2
  352. outline2
  353. currentPattern
  354. currentColor
  355. pattern2
  356. 4currentPattern, currentColor, sound
  357. "magic"
  358. syslockScreen 
  359. "outline2" 
  360. H- 45, -45
  361. buttonup
  362. buttonup
  363. magic
  364. outline2
  365. outline2
  366. currentPattern
  367. currentColor
  368. sound
  369. pattern3
  370. 4currentPattern, currentColor, sound
  371. "magic"
  372. syslockScreen 
  373. "outline2" 
  374. H- 45, -45
  375. buttonup
  376. buttonup
  377. magic
  378. outline2
  379. outline2
  380. currentPattern
  381. currentColor
  382. sound
  383. pattern4
  384. 4currentPattern, currentColor, sound
  385. "magic"
  386. syslockScreen 
  387. "outline2" 
  388. H- 45, -45
  389. buttonup
  390. buttonup
  391. magic
  392. outline2
  393. outline2
  394. currentPattern
  395. currentColor
  396. sound
  397. pattern5
  398. 4currentPattern, currentColor, sound
  399. "magic"
  400. syslockScreen 
  401. "outline2" 
  402. H- 45, -45
  403. buttonup
  404. buttonup
  405. magic
  406. outline2
  407. outline2
  408. currentPattern
  409. currentColor
  410. sound
  411. pattern6
  412. 4currentPattern, currentColor, sound
  413. "magic"
  414. syslockScreen 
  415. "outline2" 
  416. H- 45, -45
  417. buttonup
  418. buttonup
  419. magic
  420. outline2
  421. outline2
  422. currentPattern
  423. currentColor
  424. sound
  425. pattern7
  426. 4currentPattern, currentColor, sound
  427. "magic"
  428. syslockScreen 
  429. "outline2" 
  430. H- 45, -45
  431. buttonup
  432. buttonup
  433. magic
  434. outline2
  435. outline2
  436. currentPattern
  437. currentColor
  438. sound
  439. pattern8
  440. 4currentPattern, currentColor, sound
  441. "magic"
  442. syslockScreen 
  443. "outline2" 
  444. H- 45, -45
  445. buttonup
  446. buttonup
  447. magic
  448. outline2
  449. outline2
  450. currentPattern
  451. currentColor
  452. sound
  453. 4currentColor, sound
  454. syslockScreen 
  455. "&i) 
  456. "outline" 
  457. H- 45, -45
  458. setSpecialCursor(brush)
  459. buttonup
  460. buttonup
  461. pattern
  462. outline
  463. outline
  464. setSpecialCursor
  465. brush
  466. currentColor
  467. sound
  468. white
  469. darkCyan
  470. darkGreen
  471. darkRed
  472. Purple
  473. black
  474. Orange
  475. lightgray
  476. darkBlue
  477. LightCyan
  478. Green
  479. darkPurple
  480. darkGray
  481. yellow
  482. lightYellow
  483. lightPurple
  484. lightBlue
  485. pattern9
  486. -6G% 
  487. 4currentPattern, currentColor, sound
  488. "magic"
  489. syslockScreen 
  490. "outline2" 
  491. H- 45, -45
  492. buttonup
  493. buttonup
  494. magic
  495. outline2
  496. outline2
  497. currentPattern
  498. currentColor
  499. sound
  500. pattern10
  501. 4currentPattern, currentColor, sound
  502. "magic"
  503. syslockScreen 
  504. "outline2" 
  505. H- 45, -45
  506. buttonup
  507. buttonup
  508. magic
  509. outline2
  510. outline2
  511. currentPattern
  512. currentColor
  513. sound
  514. 4Zpath
  515. playhouse 
  516. .tbk")
  517. default
  518. buttonup
  519. buttonup
  520. playhous.tbk
  521. default
  522. playhouse
  523. Zpath
  524. 4%:PHYSSIZE
  525. xyoffset 
  526. item1 
  527. item2 
  528. p2 + 
  529. p2 + 
  530. buttondown
  531. buttonup
  532. buttondown
  533. item2
  534. item1
  535. xyoffset
  536. buttonup
  537. item2
  538. item1
  539. 8400,4170
  540. 4currentColor, CurrentPattern, sound
  541. "pattern1" 
  542. magic
  543. setSpecialCursor(wand)
  544. buttonup
  545. buttonup
  546. buttonup
  547. pattern1
  548. setSpecialCursor
  549. magic
  550. currentColor
  551. CurrentPattern
  552. sound
  553. Magic
  554. *:PHYSSIZE
  555. xyoffset 
  556. item1 
  557. item2 
  558. p2 + 
  559. p2 + 
  560. buttondown
  561. buttonup
  562. buttondown
  563. item2
  564. item1
  565. xyoffset
  566. buttonup
  567. item2
  568. item1
  569. 8400,3015
  570. help colorbook
  571. buttonup
  572. buttonup
  573. colorbook
  574. buttonUp
  575. buttonUp
  576. P0:PHYSSIZE
  577. xyoffset 
  578. item1 
  579. item2 
  580. p2 + 
  581. p2 + 
  582. buttondown
  583. buttonup
  584. buttondown
  585. item2
  586. item1
  587. xyoffset
  588. buttonup
  589. item2
  590. item1
  591. 8400,1860
  592. tbkMCI("stop colors","")
  593. tbkMCIchk("play 
  594.  22097","")
  595. yieldApp()
  596. 0, 0 
  597. 7830, 5280
  598. 0,100,0
  599. buttonup
  600. buttonup
  601. stop colors
  602. tbkMCI
  603. play colors from 1 to  22097
  604. tbkMCIchk
  605. yieldApp
  606. yieldApp
  607. yieldApp
  608. yieldApp
  609. Z6:PHYSSIZE
  610. xyoffset 
  611. item1 
  612. item2 
  613. p2 + 
  614. p2 + 
  615. buttondown
  616. buttonup
  617. buttondown
  618. item2
  619. item1
  620. xyoffset
  621. buttonup
  622. item2
  623. item1
  624. 135,5340
  625. tbkMCI("stop colors","")
  626. tbkMCIchk("play 
  627.  39616 
  628.  52975","")
  629. mask 
  630. 1440, 1440, 1440, 1440
  631. r<> 0
  632. "Printer 
  633. xavailable, please configure your printer 
  634. Windows."
  635. 360, 360
  636. printerPageBitmap 
  637. "Printed 
  638. fAllie's Playhouse ~D"
  639. buttonup
  640. buttonup
  641. stop colors
  642. tbkMCI
  643. play colors from  39616 to  52975
  644. tbkMCIchk
  645. =:PHYSSIZE
  646. xyoffset 
  647. item1 
  648. item2 
  649. p2 + 
  650. p2 + 
  651. buttondown
  652. buttonup
  653. buttondown
  654. item2
  655. item1
  656. xyoffset
  657. buttonup
  658. item2
  659. item1
  660. 8385,5745
  661. 8385,5745
  662. Dinos1
  663.     $    ~    
  664.     B    3    
  665. Dinos2
  666. colorBook
  667. Dinos3
  668. clown
  669. time format
  670. curre
  671. Dinos1
  672. Dinos2
  673. Dinos3
  674. clown
  675. pK\*w
  676. playhous.ico
  677.