<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-CA link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Can anyone see anything wrong with this… this is in the index.htm page that loads my RLO. I’m loading a swf file in the RLO that calls the ‘flashInititialized’ function below. The function runs, because if I remove the comments around the alert(‘xxxxx’) that will display.<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><script type="text/javascript" language="JavaScript"><o:p></o:p></p><p class=MsoNormal>myRLO = new rloObject('975','731','ron_acoustic.rlo');<o:p></o:p></p><p class=MsoNormal></script><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> <script type="text/javascript"><o:p></o:p></p><p class=MsoNormal> // called by our action script after initialization<o:p></o:p></p><p class=MsoNormal> function flashInitialized()<o:p></o:p></p><p class=MsoNormal> { <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> //alert('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'); THIS RUNS WHEN COMMENT REMOVED<o:p></o:p></p><p class=MsoNormal> <o:p></o:p></p><p class=MsoNormal> var isInternetExplorer = navigator.appName.indexOf("Microsoft") != -1;<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> // get flash object<o:p></o:p></p><p class=MsoNormal> //flash = isInternetExplorer ? document.all.myRLO.newMenu : document.myRLO.newMenu;<o:p></o:p></p><p class=MsoNormal> flash = isInternetExplorer ? document.all.myRLO.newMenu : document.myRLO.newMenu; <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='background:yellow;mso-highlight:yellow'>WHAT SYNTAX SHOULD I BE USING HERE TO CALL A FUNCTION IN THE SWF LOADED BY THE RLO? NONE OF THESE WILL RUN….</span><o:p></o:p></p><p class=MsoNormal> // call action script function<o:p></o:p></p><p class=MsoNormal> <span style='background:yellow;mso-highlight:yellow'>flash.setText('Hello from javascript via xerte RLO');<o:p></o:p></span></p><p class=MsoNormal><span style='background:yellow;mso-highlight:yellow'> //myRLO.newMenu.setText('Hello from javascript via xerte RLO');<o:p></o:p></span></p><p class=MsoNormal><span style='background:yellow;mso-highlight:yellow'> //_level0.engine.newMenu.setText('Hello from javascript via xerte RLO');</span><o:p></o:p></p><p class=MsoNormal> }<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> </script><o:p></o:p></p></div></body></html>