I have had no success doing what i thought should be an easy task. I simply want to use the spacebar to toggle audio on and off. I can get a button to work fine. However, I am having no success placing Audio.TogglePlay(CHANNEL_NARRATION); in an e-key in the on key event on the page. I can get the space bar to play or pause the audio, but not toggle. The audio starts playing when the page opens. I have a toggle button on the page that works fine.
this is not working
if e_Key == 32 then
Audio.TogglePlay(CHANNEL_NARRATION);
end
But it does work if I switch to Audio.Play or Audio.Pause. i have even tried using a Page.clickobject directed at the toggle button on the page and that does not work.
Final question i I am trying to use arrow keys for navigation as well. I get odd behavior when I use rt arrow( e_Key == 39). Rather than next page it appears to be issueing 2 next pages. this also happens if I use the click object command directed to the next button on the page. the next button on the page works fine. Any clues?
Alan

