[Xerte] Setting Focus on the SWF
Deborah Delin
admin at strivney.com
Tue Jul 19 15:02:08 BST 2011
Hi,
Sorry, still struggling here. My game which is controlled with keystrokes
doesn't work in Xerte until the screen is clicked. Pat and Dave
suggested setting
the focus to the icon that loads the swf.
I added the line:
getURL("javascript:mySWFname.focus( );void 0;");
to the SWF and this seems to have sorted the problem in Firefox but not in
other browsers.
Do I need to add code to the loadSWF icon in Xerte? The icon doesn't seem
to have a script option. Could anyone kindly provide me with a code snippet
and tell me where to put it?
Many thanks.
Deborah
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110719/2aadbd57/attachment.html>
More information about the Xerte
mailing list