Hey all,
Appreciate any help anyone can give me.
I am trying to add keyboard controls to my movie. I currently have a pause and play button, along with next, previous, etc. All works fine. The problem I am having is two fold.
I have added this code to my pause button.
on (keyPress “<Space>”) {stop();
}
But for some reason it isn’t working. I have seen that I should probably use Key Listeners… but I am not exactly sure what I need to do with those.
The second issue, can the space bar have dual functionality? Say on release stop, and on release play? so that the user only has to hit the space bar to start and stop the movie?
Thanks for any/all help.