[Xerte] Re: Setting Focus on the SWF

Dave Burnett d_b_burnett at hotmail.com
Thu Jul 21 23:45:53 BST 2011


Try this:
 



flash.external.ExternalInterface.call("document.getElementById(\"rlo\").focus");






Date: Thu, 21 Jul 2011 23:56:45 +0300
From: admin at strivney.com
To: Xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Setting Focus on the SWF

Thanks guys!
Moodle links to the index.html so I tried:
import flash.external.ExternalInterface;
ExternalInterface.call("s = function() { document.getElementById('rlo').focus(); }");
Alas no change.
Thanks for trying everybody.  I will just have to go the "click here" route :-(. 

Deborah





This message and any attachment are intended solely for the addressee and may 
contain confidential information. If you have received this message in error, 
please send it back to me, and immediately delete it.   Please do not use, 
copy or disclose the information contained in this message or in any attachment.  
Any views or opinions expressed by the author of this email do not necessarily 
reflect the views of the University of Nottingham.



This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.



_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110721/2ec4ce32/attachment.html>


More information about the Xerte mailing list