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 will tell the media clip to play again.
Repeating Media
repeating media
Music
buttonClick
successful
Music
mmNotify
Music
leavePage
buttonClick
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
Repeating Media
ASYM_BeenHere
:HDMEDIAPATH
System
info_LastSavedBy
<BookPath>
info_LastSaved
Erik Reitan
Arial
Erik Reitan
Arial
Arial
Erik Reitan
10/26/95 6:23:17 PM
:CDMEDIAPATH
Arial
waveAudio
Wave Audio driver not found!
enterBook
"waveAudio"
sysSupportedMedia
"Wave
% driver
xfound!"
10/26/95 6:24:34 PM
Erik Reitan
9507251716271924423826373122
ASYM_TpID
Backdrop
_ASYMA_LockMove
Multimedia ToolBook
Frequently Asked Questions
Playing a wave file and allowing other actionss
enterpage
ASYM_Reset
9507252102095089368121454374
ASYM_TpID
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
25mtb01.wav
%+ %,
%%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
')$($
($($$'
(*.$$
($$$($
Repeating Media
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 will tell the media clip to play again.