[Xerte] Re: Setting Focus on the SWF

Deborah Delin admin at strivney.com
Fri Jul 22 12:44:04 BST 2011


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* <http://www.strivney-english.com/index.asp>
 <http://www.strivney-english.com/index.asp>Site for Hebrew and
English/Hebrew speakers
(Hebrew and English Instructions):   *סטריבני - ללמוד אנגלית זה כיף *
<http://strivney-english.co.il/>


http://twitter.com/DeborahDelin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110722/7a6d15c4/attachment.html>


More information about the Xerte mailing list