[Xerte] Re: Setting Focus on the SWF
Dave Burnett
d_b_burnett at hotmail.com
Fri Jul 22 13:23:46 BST 2011
>
Do I put this in the SWF or rlo? // in the .rlo
Wait a sec.
Where are you placing the code now?
In the rlo or in the loaded swf?
If that call works from the .rlo, leave it there.
J, does the wrapper already exist then?
Date: Fri, 22 Jul 2011 14:44:04 +0300
From: admin at strivney.com
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Re: Setting Focus on the SWF
Yes Dave, that works on its own. And only opens one browser window when tested.:-) Thank you.
Julian:
if (mdm != undefined){//WHAT DO I PUT HERE?
} else {flash.external.ExternalInterface.call("document.getElementById(\"rlo\").focus");
}
Do I put this in the SWF or rlo?
Deborah
On Fri, Jul 22, 2011 at 1:23 PM, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:
use it to decide whether to call the flash.external.ExternalInterface blah. you only want to do that in the browser,
From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Deborah Delin [admin at strivney.com]
Sent: 22 July 2011 11:10
To: Xerte discussion list
Subject: [Xerte] Re: Setting Focus on the SWF
Oh..........I see..........I think....
I'm sorry to be dim but can you be a bit more specific. Where do I put this code? And how do I try it out?
if (mdm != undefined){
//we are at author time: the mdm scripting obejcts are available
} else {
//we must be in the browser...
}
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.
--
Deborah
International Site (English instructions): Strivney English - Where Learning to Read is Fun
Site for Hebrew and English/Hebrew speakers
(Hebrew and English Instructions): סטריבני - ללמוד אנגלית זה כיף
http://twitter.com/DeborahDelin
_______________________________________________
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/20110722/5c53e79b/attachment-0001.html>
More information about the Xerte
mailing list