Ok, I have this code in my movie and everything works fine, except when I go to view my movie in HTML. When in HTML, the Key.isDown function does not work. Here is my code:
danddleo, unsure if you have solved your issue, but I was curious if you were trying to use the escape key to get out of fullscreen video aka - Stage.displayState
If you are using fullscreen mode, that captures the escape key so keylisteners wont work. Instead use onFullScreen boolean to fire off whatever functions.
danddleo, unsure if you have solved your issue, but I was curious if you were trying to use the escape key to get out of fullscreen video aka - Stage.displayState
If you are using fullscreen mode, that captures the escape key so keylisteners wont work. Instead use onFullScreen boolean to fire off whatever functions.
the escape button will always exit fullscren mode, what i need is a function to be activitaded once the escape key is pressed. it works fine when viewing it on adobe flash player. however once it is installed in HTML the function does not work.
Do you think it has to do with the fact that the function is not loacted in the main timeline. I tried it again, but it did not work. If I send you the file, could you help out more?