leh
2004-10-15 15:01:28 UTC
I have the following code to play narration which I have stored in Flash.
I created a radio button to toggle the sound on and off. I set a global
variable to s.
The following is the code.
On click...
Set s to s + 1
If s = 1
Execute extPlay() of Shockwave Flash "Flash Control"; discard return value
Else if s = 2
Execute extStop() of Shockwave Flash "Flash Control": discard return value
Set s to 0
End If
It toggles on the sound but does not turn off the sound. What am I doing
wrong? Thank you.
I created a radio button to toggle the sound on and off. I set a global
variable to s.
The following is the code.
On click...
Set s to s + 1
If s = 1
Execute extPlay() of Shockwave Flash "Flash Control"; discard return value
Else if s = 2
Execute extStop() of Shockwave Flash "Flash Control": discard return value
Set s to 0
End If
It toggles on the sound but does not turn off the sound. What am I doing
wrong? Thank you.