home *** CD-ROM | disk | FTP | other *** search
Wrap
<BookPath> :HDMEDIAPATH System info_LastSavedBy info_LastSaved Erik Reitan Erik Reitan 7/25/95 5:31:05 PM Erik Reitan Arial Arial 7/25/95 8:27:11 PM Arial Arial 9507251716271924423826373122 ASYM_TpID Backdrop _ASYMA_LockMove Multimedia ToolBook Frequently Asked Questions Playing a wave file and allowing other actionss enterpage ASYM_Reset Using notify Repeating Media aborted Clip Aborted! successful Music mmNotify buttonClick mmOpen clip "Music" mmPlay notify mmNotify clipName, commandName, result c"successful" mmClose c"aborted" "Clip Aborted!" &Example Button Playing a wave file and allowing other actionsss CDBSE&File &Open... Ctrl+O &Save Ctrl+S Save &As... saveas &Import... import &Export... export Print Set&up... printsetup &Print Pages... Ctrl+P printpages Prin&t Report... printreport Send &Mail... sendmail &Run... E&xit Alt+F4 &Edit &Undo Ctrl+Z Cu&t Ctrl+X &Copy Ctrl+C &Paste Ctrl+V paste C&lear Del clear Select &All Shift+F9 selectall Select Pa&ge Shift+F12 selectpage &Size to Page F11 sizetopage F&ind... F5 Re&place... replace Aut&hor F3 author &Text &Character... F6 character &Paragraph... F7 paragraph &Regular Ctrl+Space regular &Bold Ctrl+B &Italic Ctrl+I italic &Underline Ctrl+U underline Stri&keout Ctrl+K strikeout Superscrip&t/Subscript superscriptSubscript &Normal Script normalscript Su&bscript Ctrl+L subscript Su&perscript Ctrl+Shift+L superscript &Show Hotwords F9 showhotwords &Page &Next Alt+Right &Previous Alt+Left previous &First Alt+Up first &Last Alt+Down &Back Shift+F2 &History... Ctrl+F2 history N&ew Page Ctrl+N newpage &Help &Contents F1 contents Status &Bar F12 statusbar notifybefore "0,0" "0,0" moved ssm = sysSuspendMessages notifyBefore ASYM_Reset {loc; buttonClick rightButtonClick enterpage moved ASYM_Reset buttonDown buttonUp buttonClick buttonDoubleClick rightButtonDown rightButtonUp rightButtonClick rightButtonClick rightButtonDoubleClick new-4 Music 24mtb01.wav e\bonanza %+ %, %%4+%%%%,%,,4,,,,%,%,,% %,+ + %%%%%%+%44+%%,,,8,,,%,%+ %4+ + %% ++% %+%%+%%% +%%%%%%%, % %%%%% + %%+ % 4%+% 4 % %% %% %%%+%+% %%%%4%% % % % %+% %+ ++ +% % %%% ###!# *;*&) &9))( '&*55 ()5*( )9*)* '5&(' &)).(' H2)&) ))($$ $(*$$( &*?D$ ($95)&)( '($;' '()*K25 '(****) $.**) $$*&( $(5('(' $&9)( ')*;) $$$)) $$**$ $)*$) )*5$.) )*9;*).( $***)**$' $$*$$ .)5*$ ).()*))' )*))$ (5?.( #!##! % $)))$' +% %%,% +,, #""!" %%%% ! %%%% %%%%% ++ +% ((.$( $$.).$ '($$$ %% %+8 %% % +%%%+4%% $.$))$($$.)$)).($)).$$)(($)$( ).$$( ).$$$(( % % % %! % %% %%% ,,,% 4%4 4 % %%% % + + % %+% %%C +%, 4%%+% %%+%% ++,%, ,%%%% %%4, %%%,, ,%,+ %%%+% +%%%,,%,+%% %%%%% %,,4,%,4%8,8,%,+% + %%+4%% %,,%%%%%,,%, %%%+%, % %+ 488,%% ,,,% 4%%, %8% %,,>C,8+,,, %+%,8,, % ,>,C>,%+,% %, ,%% %%%% %,,%,CC>%%,% +8%%%++ +%,%4,88%, +% %,% %%,,%%8,,% %%>,+488,, % +% ,>,,% +,4,%%%,4 ,,,,,,44%%, ,, % ,%4,%4 ++ +%%48%%,%%% %%%%%%,,,8% %%4%%C%,4,, %%%,% %,%4 84%, 4%% %8 %, ,8%, %%% 4 %+% % %%%% (').' ()$$( B/7/2 .712/ $.0502 ./1// $.0502 $0203 $$*=0/ $$$5=/7 $&$$10// $)&$&07/ $.&&&)12/0 $&&&$)0</ &)&.&&&2/0 &)&)&$&1102J &--&&$$)1/03 &&&).$&11/2 B&--&&$$)1/03 &&-&&$$)$/00 &*&*&&&&&$36/= &&&*$&)&$130/ B**&&&&*&&.1600 **-&-.*&&$&6000 -*&&&&&-&&&&167/ **-&-.&&&$&1000 -*&&&&&-&&&&167/ &&&&&.--&&&1777 &&&&&&&-**&&&607 &&&&&&&&-*&&&2607( -&-&&&&&&-*&-&106/ -&&&-&-&&-*&&&-066 &---&&*&)&)&--&)1600 E&-&-&&*&)*)*&-))700$ &&&&&**&&*$&&&&&&066 &&&&&-****-&*&&&&176/ *.&$$$*-&-*$.&&&&&2663 '.*$$(( &&&&&-***&-$*&&&&176/ *.&$$$*-&-*$.&&&&&2663 *)&&$$&-*-*&.&&&&&$667 5&$&$$$&&&**)&&&&.$<0000 .$)(( 5$$&)$.&-.*))&&&).&1030 *&$&)-&&-)---&&..$$*2366 *&@&&&&&-&.-&&&..$ &&3/67 &-&)&$*-)&)&)&&)$$$$*526A6 $&&-&&&.-&-&..$$&&2/67 &-&)&$*-)&)&)&&)$$$$*526A6 -&$&&&-&&.&)&&&$$$$**2/77F *&&&&$$$.&$)$$$&)$ *<I0AF 5&&&&$$$$.$.)$$$&) &*<10AF* B<*-&.$$$:$ -*<36A **-&..$$@$ $&<2666 .<-&&.&&$$ &<2367 *<-&-&&$$ :$$$:$-<=36( --**.-&&&$&$ &2/07 &-&*-&&&&&$$@ $-/=70 $-&&&&&&&&.&$$ )22/3 &-&*-&-&&&$& $-2=00 $-&&&&&&&&.&$$ )22/3 --&-&&&&&$&.$ $1223 &-&&--&&&&&$:$$$ *-*&-&&-&&&$ $//2/ ---*-&)---$$$$$ $3//$ .-*--&)&--&$$ $$$10// &***&&.*&&$$)$$$100/ .-*-*&&&--&$$:$$ &***&&.*&&$$)$$$100/ ***&-..-&$$$$$.133/ .*--&&-).& $$$133/ M*---&&-)$&$$$$10// *&*--&&.$:$$ M***---&.& $$J1//2 .&&<*&$$$$$$133/ &&&<-&$$$$$$/33 &&-*&$$ $1//3N $&)*-)$$ &//33! $$&)&.$$ $0/=/ $&)--)$$ :&1//3 $$&)&.$$ $0/=/ $$)&&$.@ &&&&&$.&100/ E-&&-&$.$300/ &&*.$)&000' &&&-$$&2303 &&&)$&2000 &&&-.$)2303$ &&&)$&2000 &&&$.2030 .$&)2/03 $$&&2/03 :.&//0 &1//0 $-/2/ $$/// ;55K* $E2// )9*?5 ')$($ ($($$' (*.$$ ($$$($ Using notify Music buttonClick aborted Clip Aborted! successful Music mmNotify buttonClick mmOpen clip "Music" mmPlay notify mmNotify clipName, commandName, result c"successful" mmClose c"aborted" "Clip Aborted!" notify example Playing a wave file and allowing other actionsss xample Button 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. Hello! buttonClick buttonClick "Hello!" &Display dialog box &Play wave clip using notify 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. Press the buttons to the right to hear and see the example. ASYM_BeenHere *ClassTbl* *ClassEntry* *PTABLE* *WINDOWSEG* *ICONRESTAB* *ICONRESSEG* *ICONRES* Background *OBJTABLE* *IDTABLE* *NAMETAB* Rectangle Ellipse RoundedRectangle Polygon IrregularPolygon AngledLine Curve PaintObject Picture Group Stage Button Viewer ComboBox Field RecordField Hotword *RHOTWORD* *TbxBase* nClick mmOpen clip "Music" mmPlay notify mmNotify clipName, commandName, result c"successful" notifyBefore mmClose &Play and repeat a wave clip buttonClick buttonClick &Go to next page leavePage 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. 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. You can loop a media clip using a notify handler. The notify handler would tell the media clip to play again. again. <BookPath> :HDMEDIAPATH System info_LastSavedBy info_LastSaved Erik Reitan Arial Erik Reitan Arial Arial 7/25/95 9:03:21 PM Arial Arial Erik Reitan /95 9:01:34 PM waveAudio Wave Audio driver not found! enterBook "waveAudio" sysSupportedMedia "Wave % driver xfound!"