home *** CD-ROM | disk | FTP | other *** search
/ Using Asymetrix Multimedi…ool Book Special Edition / SE_UAMT.iso / examples / 24mtb01.tbk (.txt) < prev    next >
Encoding:
Asymetrix ToolBook File  |  1995-10-29  |  142.6 KB  |  487 lines

  1. <BookPath>
  2. :HDMEDIAPATH
  3. System
  4. info_LastSavedBy
  5. info_LastSaved
  6. Erik Reitan
  7. Erik Reitan
  8. 7/25/95 5:31:05 PM
  9. Erik Reitan
  10. Arial
  11. Arial
  12. 7/25/95 8:27:11 PM
  13. Arial
  14. Arial
  15. 9507251716271924423826373122
  16. ASYM_TpID
  17. Backdrop
  18. _ASYMA_LockMove
  19. Multimedia ToolBook
  20. Frequently Asked Questions
  21. Playing a wave file and allowing other actionss
  22. enterpage
  23. ASYM_Reset
  24. Using notify
  25. Repeating Media
  26. aborted
  27. Clip Aborted!
  28. successful
  29. Music
  30. mmNotify
  31. buttonClick
  32.     mmOpen clip "Music"
  33.     mmPlay 
  34.  notify 
  35. mmNotify clipName, commandName, result
  36. c"successful"
  37.             mmClose 
  38. c"aborted"
  39. "Clip Aborted!"
  40. &Example Button
  41. Playing a wave file and allowing other actionsss
  42. CDBSE&File
  43. &Open...    Ctrl+O
  44. &Save    Ctrl+S
  45. Save &As...
  46. saveas
  47. &Import...
  48. import
  49. &Export...
  50. export
  51. Print Set&up...
  52. printsetup
  53. &Print Pages...    Ctrl+P
  54. printpages
  55. Prin&t Report...
  56. printreport
  57. Send &Mail...
  58. sendmail
  59. &Run...
  60. E&xit    Alt+F4
  61. &Edit
  62. &Undo    Ctrl+Z
  63. Cu&t    Ctrl+X
  64. &Copy    Ctrl+C
  65. &Paste    Ctrl+V
  66. paste
  67. C&lear    Del
  68. clear
  69. Select &All    Shift+F9
  70. selectall
  71. Select Pa&ge    Shift+F12
  72. selectpage
  73. &Size to Page    F11
  74. sizetopage
  75. F&ind...    F5
  76. Re&place...
  77. replace
  78. Aut&hor    F3
  79. author
  80. &Text
  81. &Character...    F6
  82. character
  83. &Paragraph...    F7
  84. paragraph
  85. &Regular    Ctrl+Space
  86. regular
  87. &Bold    Ctrl+B
  88. &Italic    Ctrl+I
  89. italic
  90. &Underline    Ctrl+U
  91. underline
  92. Stri&keout    Ctrl+K
  93. strikeout
  94. Superscrip&t/Subscript
  95. superscriptSubscript
  96. &Normal Script
  97. normalscript
  98. Su&bscript    Ctrl+L
  99. subscript
  100. Su&perscript    Ctrl+Shift+L
  101. superscript
  102. &Show Hotwords    F9
  103. showhotwords
  104. &Page
  105. &Next    Alt+Right
  106. &Previous    Alt+Left
  107. previous
  108. &First    Alt+Up
  109. first
  110. &Last    Alt+Down
  111. &Back    Shift+F2
  112. &History...    Ctrl+F2
  113. history
  114. N&ew Page    Ctrl+N
  115. newpage
  116. &Help
  117. &Contents    F1
  118. contents
  119. Status &Bar    F12
  120. statusbar
  121. notifybefore 
  122. "0,0"
  123. "0,0" 
  124. moved
  125.     ssm = sysSuspendMessages
  126. notifyBefore ASYM_Reset
  127. {loc;
  128. buttonClick 
  129. rightButtonClick 
  130. enterpage
  131. moved
  132. ASYM_Reset
  133. buttonDown
  134. buttonUp
  135. buttonClick
  136. buttonDoubleClick
  137. rightButtonDown
  138. rightButtonUp
  139. rightButtonClick
  140. rightButtonClick
  141. rightButtonDoubleClick
  142. new-4
  143. Music
  144. 24mtb01.wav
  145. e\bonanza
  146.  %+ %,  
  147. %%4+%%%%,%,,4,,,,%,%,,% 
  148. %,+ +
  149.  %%%%%%+%44+%%,,,8,,,%,%+
  150. %4+ +
  151.  %%  ++%
  152. %+%%+%%% +%%%%%%%, %
  153.  %%%%% 
  154. + %%+ %  4%+% 
  155.  4 % 
  156. %% %%
  157.  %%%+%+% %%%%4%% % 
  158. % %   %+% %+ ++
  159.     +%
  160. % %%%
  161. ###!#
  162. *;*&)
  163. &9))(
  164. '&*55
  165. ()5*(
  166. )9*)*
  167. '5&('
  168. &)).('
  169. H2)&)
  170. ))($$
  171. $(*$$(
  172. &*?D$
  173. ($95)&)(
  174. '($;'
  175. '()*K25
  176. '(****)
  177. $.**)
  178. $$*&(
  179. $(5('('
  180. $&9)(
  181. ')*;)
  182. $$$))
  183. $$**$
  184. $)*$)
  185. )*5$.)
  186. )*9;*).(
  187. $***)**$'
  188. $$*$$
  189. .)5*$
  190. ).()*))'
  191. )*))$
  192. (5?.(
  193. #!##!
  194. %    
  195. $)))$'
  196.      +%
  197.  %%,%
  198.  +,, 
  199. #""!"
  200. %%%% !
  201.  %%%%
  202. %%%%%
  203. ++ +% 
  204. ((.$(
  205. $$.).$
  206. '($$$
  207. %% %+8
  208. %%  %
  209. +%%%+4%% 
  210. $.$))$($$.)$)).($)).$$)(($)$(
  211. ).$$(
  212. ).$$$((
  213. %  % 
  214.  %    
  215. %! % 
  216.  %%  %%% 
  217.  ,,,%
  218.  4%4 4
  219.        
  220. % %%%
  221. % +   
  222.   + %
  223.  %+%  %%C +%, 
  224. 4%%+%
  225. %%+%%
  226. ++,%,
  227. ,%%%%
  228.     %%4,
  229.  %%%,,
  230. ,%,+ 
  231. %%%+% 
  232.   +%%%,,%,+%%
  233.  %%%%%
  234.  %,,4,%,4%8,8,%,+%  + %%+4%%
  235.     %,,%%%%%,,%, %%%+%, % 
  236.  %+  
  237. 488,%% ,,,% 4%%, %8%
  238. %,,>C,8+,,, %+%,8,, 
  239. % ,>,C>,%+,%
  240. %, ,%%  %%%%
  241. %,,%,CC>%%,% +8%%%++
  242. +%,%4,88%, 
  243.  +% %,%
  244. %%,,%%8,,%
  245. %%>,+488,,
  246. % +% 
  247. ,>,,% +,4,%%%,4
  248. ,,,,,,44%%, ,, %
  249. ,%4,%4 ++
  250. +%%48%%,%%%
  251. %%%%%%,,,8%
  252. %%4%%C%,4,, 
  253. %%%,% 
  254.  %,%4
  255. 84%, 4%%
  256. %8 %,  
  257.  ,8%,
  258. %%%  
  259. 4 %+%
  260.  % %%%%
  261. (').'
  262. ()$$(
  263. B/7/2
  264. .712/
  265. $.0502
  266. ./1//
  267. $.0502
  268. $0203
  269. $$*=0/
  270. $$$5=/7
  271. $&$$10//
  272. $)&$&07/
  273. $.&&&)12/0
  274. $&&&$)0</
  275. &)&.&&&2/0
  276. &)&)&$&1102J
  277. &--&&$$)1/03
  278. &&&).$&11/2
  279. B&--&&$$)1/03    
  280. &&-&&$$)$/00
  281. &*&*&&&&&$36/=
  282. &&&*$&)&$130/
  283. B**&&&&*&&.1600
  284. **-&-.*&&$&6000
  285. -*&&&&&-&&&&167/
  286. **-&-.&&&$&1000
  287. -*&&&&&-&&&&167/
  288. &&&&&.--&&&1777
  289. &&&&&&&-**&&&607
  290. &&&&&&&&-*&&&2607(
  291. -&-&&&&&&-*&-&106/
  292. -&&&-&-&&-*&&&-066
  293. &---&&*&)&)&--&)1600
  294. E&-&-&&*&)*)*&-))700$
  295. &&&&&**&&*$&&&&&&066
  296. &&&&&-****-&*&&&&176/
  297. *.&$$$*-&-*$.&&&&&2663
  298. '.*$$((
  299. &&&&&-***&-$*&&&&176/
  300. *.&$$$*-&-*$.&&&&&2663
  301. *)&&$$&-*-*&.&&&&&$667
  302. 5&$&$$$&&&**)&&&&.$<0000
  303. .$)((
  304. 5$$&)$.&-.*))&&&).&1030
  305. *&$&)-&&-)---&&..$$*2366
  306. *&@&&&&&-&.-&&&..$
  307. &&3/67
  308. &-&)&$*-)&)&)&&)$$$$*526A6
  309. $&&-&&&.-&-&..$$&&2/67
  310. &-&)&$*-)&)&)&&)$$$$*526A6
  311. -&$&&&-&&.&)&&&$$$$**2/77F
  312. *&&&&$$$.&$)$$$&)$
  313. *<I0AF
  314. 5&&&&$$$$.$.)$$$&)
  315. &*<10AF*
  316. B<*-&.$$$:$
  317. -*<36A
  318. **-&..$$@$
  319. $&<2666
  320. .<-&&.&&$$
  321. &<2367
  322. *<-&-&&$$
  323. :$$$:$-<=36(
  324. --**.-&&&$&$
  325. &2/07
  326. &-&*-&&&&&$$@
  327. $-/=70
  328. $-&&&&&&&&.&$$
  329. )22/3
  330. &-&*-&-&&&$&
  331. $-2=00
  332. $-&&&&&&&&.&$$
  333. )22/3
  334. --&-&&&&&$&.$
  335. $1223
  336. &-&&--&&&&&$:$$$
  337. *-*&-&&-&&&$
  338. $//2/
  339. ---*-&)---$$$$$
  340. $3//$
  341. .-*--&)&--&$$
  342. $$$10//
  343. &***&&.*&&$$)$$$100/
  344. .-*-*&&&--&$$:$$
  345. &***&&.*&&$$)$$$100/
  346. ***&-..-&$$$$$.133/
  347. .*--&&-).&
  348. $$$133/
  349. M*---&&-)$&$$$$10//
  350. *&*--&&.$:$$
  351.     M***---&.&
  352. $$J1//2
  353. .&&<*&$$$$$$133/
  354.     &&&<-&$$$$$$/33
  355. &&-*&$$
  356. $1//3N
  357. $&)*-)$$
  358. &//33!
  359. $$&)&.$$
  360. $0/=/
  361. $&)--)$$
  362. :&1//3
  363. $$&)&.$$
  364. $0/=/
  365. $$)&&$.@
  366. &&&&&$.&100/
  367. E-&&-&$.$300/    
  368. &&*.$)&000'    
  369. &&&-$$&2303
  370. &&&)$&2000
  371. &&&-.$)2303$    
  372. &&&)$&2000
  373. &&&$.2030
  374. .$&)2/03
  375. $$&&2/03
  376. :.&//0
  377. &1//0
  378. $-/2/
  379. $$///
  380. ;55K*
  381. $E2//
  382. )9*?5
  383. ')$($
  384. ($($$'
  385. (*.$$
  386. ($$$($
  387. Using notify
  388. Music
  389. buttonClick
  390. aborted
  391. Clip Aborted!
  392. successful
  393. Music
  394. mmNotify
  395. buttonClick
  396.     mmOpen clip "Music"
  397.     mmPlay 
  398.  notify 
  399. mmNotify clipName, commandName, result
  400. c"successful"
  401.             mmClose 
  402. c"aborted"
  403. "Clip Aborted!"
  404. notify example
  405. Playing a wave file and allowing other actionsss
  406. xample Button
  407. You can use a notify handler in conjus a media command such as playing a wave audio file, without obstructing the user from interacting with your application.
  408. Hello!
  409. buttonClick
  410. buttonClick
  411. "Hello!"
  412. &Display dialog box
  413. &Play wave clip using notify
  414. You can use a notify handler in conjunction with a clip command, such as playing a wave audio clip, without obstructing the user from interacting with your application.
  415. Press the buttons to the right to hear and see the example.
  416. ASYM_BeenHere
  417. *ClassTbl*
  418. *ClassEntry*
  419. *PTABLE*
  420. *WINDOWSEG*
  421. *ICONRESTAB*
  422. *ICONRESSEG*
  423. *ICONRES*
  424. Background
  425. *OBJTABLE*
  426. *IDTABLE*
  427. *NAMETAB*
  428. Rectangle
  429. Ellipse
  430. RoundedRectangle
  431. Polygon
  432. IrregularPolygon
  433. AngledLine
  434. Curve
  435. PaintObject
  436. Picture
  437. Group
  438. Stage
  439. Button
  440. Viewer
  441. ComboBox
  442. Field
  443. RecordField
  444. Hotword
  445. *RHOTWORD*
  446. *TbxBase*
  447. nClick
  448.     mmOpen clip "Music"
  449.     mmPlay 
  450.  notify 
  451. mmNotify clipName, commandName, result
  452. c"successful"
  453. notifyBefore 
  454.     mmClose 
  455. &Play and repeat a wave clip
  456. buttonClick
  457. buttonClick
  458. &Go to next page
  459. leavePage
  460. ow the user to continue to interact with your application while a media file is playing, it also can be used to play a media file continuously.
  461. Not only does a notify handler allow the user to continue to interact with your application while a media file is playing, it also can be used to play a media file continuously.
  462. You can loop a media clip using a notify handler.  The notify handler would tell the media clip to play again.
  463.  again.
  464. <BookPath>
  465. :HDMEDIAPATH
  466. System
  467. info_LastSavedBy
  468. info_LastSaved
  469. Erik Reitan
  470. Arial
  471. Erik Reitan
  472. Arial
  473. Arial
  474. 7/25/95 9:03:21 PM
  475. Arial
  476. Arial
  477. Erik Reitan
  478. /95 9:01:34 PM
  479. waveAudio
  480. Wave Audio driver not found!
  481. enterBook
  482. "waveAudio" 
  483. sysSupportedMedia
  484. "Wave 
  485. % driver 
  486. xfound!"
  487.