Hello everyone.
I made a presentation (Powerpoint-like) with hype 3 since I often give short clases in my work. I would like to change scenes with a controller I have, like I do with a normal powerpoint presentation. But I have tried different codes and ways but I just cant get to to work.
The code i used is the followed;
document.onkeydown = checkKey;
function checkKey(e) {
e = e || window.event;
if (e.keyCode == '39, 33') {
// right arrow
hypeDocument.showNextScene(hypeDocument.kSceneTransitionPushRightToLeft);
}
else if (e.keyCode == '37, 34') {
// left arrow
hypeDocument.showPreviousScene(hypeDocument.kSceneTransitionPushLeftToRight);
}
}
indent preformatted text by 4 spaces
Do you have any idea how I can do this ?
Thank you