Need to click on flash movie to set focus


using flash cs4 pro v. 10.0.2.

 

any time make movie uses onkeydown, publish swf + html files webserver, , test movie browser, have click movie once or twice before gets focus , register keystrokes.

 

i got answer little on year ago, unfortunately have misplaced it.

 

could me out? 

 

thanks in advance,

 

ole

if you're using assign as3, use

 

stage.focus=whatever

 

to add focus whatever.



More discussions in Adobe Animate CC - General


adobe

Comments

Popular posts from this blog

How to change text Component easybook reloaded *newbee* - Joomla! Forum - community, help and support

After Effect warning: A problem occurred when processing OpenGL commands

Preconditions Failed. - Joomla! Forum - community, help and support