Saturday, May 19, 2012

[Action Script] activate embeded flash without clicking in html page May,2012

Hello!
I've made a little game, in which the first action the player has to do is to press the space bar. I've embeded this small game in an html page. The problem is that the player need to first click in the area of the embeded flash before the space bar action will be affective. This game is not intended for web friendly poeple only, so I'm afraid that some of the users will not understand they have to activate the area of the embeded flash before playing.
Is there any way to activate it, with javascript for example, so the space bar pressing will be immediately effective? Or is it to be done in actionscript?
Thank you for helping me on this question! :o
activate embeded flash without clicking in html page

Related Post



0 comments: