<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
>
<font face="tahoma" color="#000066">Do I put this in the SWF or rlo?</font> // in the .rlo<br><br><BR>Wait a sec.<BR>Where are you placing the code now?<BR>In the rlo or in the loaded swf?<BR><br><BR>If that call works from the .rlo, leave it there.<BR><br><BR>J, does the wrapper already exist then?<BR><br><BR><br><BR><div><hr id="stopSpelling">Date: Fri, 22 Jul 2011 14:44:04 +0300<br>From: admin@strivney.com<br>To: xerte@lists.nottingham.ac.uk<br>Subject: [Xerte] Re: Setting Focus on the SWF<br><br><div dir="ltr"><font color="#000066"><font face="verdana,sans-serif">Yes Dave, that works on its own.  And only opens one browser window when tested.:-)  Thank you.<br></font></font><div><font class="ecxApple-style-span" color="#000066" face="verdana, sans-serif"><br>
</font></div><div><font color="#000066" face="verdana, sans-serif">
<div>Julian:</div><div><br></div></font><div style="font-family:Tahoma"><font face="tahoma" color="#000066">if (mdm != undefined){</font></div><div style="font-family:Tahoma"><font face="tahoma" color="#000066">//</font><font face="tahoma" color="#ff0000">WHAT DO I PUT HERE?</font></div>

<div style="font-family:Tahoma"><font face="tahoma" color="#000066">} else {</font></div><span class="ecxApple-style-span" style="border-collapse:collapse;font-family:arial, sans-serif"><font class="ecxApple-style-span" color="#000066">flash.external.ExternalInterface.call("document.getElementById(\"rlo\").focus");   </font></span><div style="font-family:Tahoma">

<font face="tahoma" color="#000066">}</font></div><div style="font-family:Tahoma"><font face="tahoma" color="#000066"><br></font></div><div style="font-family:Tahoma"><font face="tahoma" color="#000066">Do I put this in the SWF or rlo?</font></div>
<div style="font-family:Tahoma"><font face="tahoma" color="#000066"><br></font></div><div style="font-family:Tahoma"><font face="tahoma" color="#000066">Deborah</font></div><font color="#000066" face="verdana, sans-serif"><div>
<br></div><div><br></div><div><br></div><div><br></div></font><div class="ecxgmail_quote">On Fri, Jul 22, 2011 at 1:23 PM, Julian Tenney <span dir="ltr"><<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>></span> wrote:<br>

<blockquote class="ecxgmail_quote" style="border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="font-size:x-small;color:#000000;direction:ltr;font-family:Tahoma">
<div>use it to decide whether to call the flash.external.ExternalInterface blah. you only want to do that in the browser,</div>
<div style="direction:ltr">
<hr>
<font face="Tahoma" color="#000000" size="2"><div><b>From:</b> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> [<a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Deborah Delin [<a href="mailto:admin@strivney.com">admin@strivney.com</a>]<br>


</div><b>Sent:</b> 22 July 2011 11:10<div><br>
<b>To:</b> Xerte discussion list<br>
<b>Subject:</b> [Xerte] Re: Setting Focus on the SWF<br>
</div></font><br>
</div><div><div>

<div>
<div dir="ltr"><font color="#000066"><font face="verdana,sans-serif">Oh..........I see..........I think....<br>
</font></font>
<div><font face="verdana, sans-serif" color="#000066"><br>
</font></div>
<div><font face="verdana, sans-serif" color="#000066">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?<br>
</font>
<div class="ecxgmail_quote"><br>
<blockquote class="ecxgmail_quote" style="padding-left:1ex;border-left:#ccc 1px solid">
<div>
<div style="font-size:x-small;color:#000000;direction:ltr;font-family:Tahoma">
<div><font face="tahoma">if (mdm != undefined){</font></div>
<div><font face="tahoma">  //we are at author time: the mdm scripting obejcts are available</font></div>
<div><font face="tahoma">} else {</font></div>
<div><font face="tahoma">  //we must be in the browser...</font></div>
<div><font face="tahoma">}</font></div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>Deborah </div>
<blockquote class="ecxgmail_quote" style="padding-left:1ex;border-left:#ccc 1px solid">
<div>
<div style="font-size:x-small;color:#000000;direction:ltr;font-family:Tahoma">
<div dir="ltr"> </div>
</div>
</div>
</blockquote>
<div> </div>
</div>
<br>
</div>
</div>
</div>
</div></div></div><div>
<br>

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.
<BR>

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.
<BR>
</div></div>


<br>_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
<br>
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.<br>


<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div style="text-align:center"><div style="text-align:left"><font face="verdana, sans-serif"><font color="#333399">Deborah           <br>                                                  <img src="http://www.strivney-english.com/strivney_logo.gif" width="96" height="45"><br>

</font></font></div></div><font face="verdana, sans-serif"><font color="#333399">                                                             <br></font></font>

<div style="text-align:left"><font face="verdana, sans-serif"><font color="#333399">International Site (English instructions): </font></font><a href="http://www.strivney-english.com/index.asp" target="_blank"><font face="verdana, sans-serif"><font color="#333399"><b>Strivney English  - Where Learning to Read is Fun</b></font></font></a></div>

<div style="text-align:left"><font face="verdana, sans-serif"><font color="#333399">Site for Hebrew and English/Hebrew speakers</font></font></div><div style="text-align:left">

<font face="verdana, sans-serif"><font color="#333399">(Hebrew and English Instructions):   </font></font><a href="http://strivney-english.co.il/" target="_blank"><font face="verdana, sans-serif"><font color="#333399"><b>סטריבני - ללמוד אנגלית זה כיף </b> </font></font></a><font face="verdana, sans-serif"><font color="#333399">  </font></font></div>

<div style="text-align:left"><font face="verdana, sans-serif"><font color="#333399"><br></font></font></div><div style="text-align:left"><a href="http://twitter.com/DeborahDelin" target="_blank"><font color="#333399"><font face="verdana, sans-serif">http://twitter.com/DeborahDelin</font></font></a><font color="#333399"><font face="verdana, sans-serif"> </font></font><font color="#333399" style="font-family:verdana, sans-serif">   </font>       </div>

</div><br>
</div></div>
<br>_______________________________________________
Xerte mailing list
Xerte@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.</div>                                     </div></body>
</html>