Question:
I am trying to add an Audio "pause" function so a viewier can stop on-screen
instructions to study the information before continuing. When ready, he
would click the button again and the audio would resume.
I placed the MediaPause Function inside a calculation icon on the timeline
under a pause button. MediaPause(IconID@"Music1", pause). (Button Settings
= after next entry / try again / not judged)
When I hit the ENTER key on the number key pad, it asked me to define a
variable for "PAUSE". What am I supposed to put here?... or am I doing
something wrong in the whole process?
Answer:
-Setup both buttons and use active if to display them. For example, the
resume button would be active if MediaPause was True. The Pause button
would be active if MediaPause was False.
-Use the checked state of the button to show a sound on/sound off icon at the
appropriate time. Set the button the button to automatically check.