Using the Enter key as a trigger in HTML5 and Flash

Jan 23, 2014

Hi, all-

I have a question about trigger incompatibility in those two systems. I am creating an interactive where the user has to enter a number in a data entry box. If it's the right number, the user is moved to the correct layer, and if it's the wrong number, he or she is moved to the incorrect layer. Initially, I had the program move to the correct or incorrect layer when the variable changed (i.e., someone types something in). That works in Flash, but in HTML5 it resulted in the transition happening so fast that the user couldn't look at it and see what he or she had typed before the transition. So I changed the trigger for the transition to the user pressing Enter-when a user presses Enter, Storyline checks the variable and moves to the correct or incorrect layer accordingly. Problem is, it appears that Flash reads the Enter key as a regular Enter, meaning that the data entry box goes down a line and ignores what the user has input.

So, in summary, I can't use the variable changing trigger because it doesn't work with HTML5, and I can't use the Enter trigger because it doesn't work in Flash. I know I could use a button, but my boss is not so crazy about that aesthetically....does anyone know of a way to either slow the response to the variable in HTML5, or of a key you can press that Flash will read as a trigger and not just typing? Our website appears on different browsers, some of which use flash and some of which use HTML5, so I need to figure out a way to make it work in both.

Thanks!

Chana

1 Reply

This discussion is closed. You can start a new discussion or contact Articulate Support.