IE Safari Browser issue when embeding SWF with SWFObject v1.5

Hi there,

I have upgraded the embed code for my Flash content with SWFObject V 1.5. However since I have done this I have discovered that my rollovers  are not working on Safari or IE and additionally with IE I have a message teling me that I have 'run out of memorary on line 167'. I have read on the SWFObject site that this is a browser issue but should have been resolved in the 1.5 version.

Could you have a look through the source of one of the pages effected and see if I have made an error in my codingt hat has caused this issue?

Here is the code:


<?php include_once("/home/random/public_html/oneadmin/config.php"); include_once($path["docroot"]."common/css.php"); ?>

<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_RC = "localhost";
$database_RC = "random_rc";
$username_RC = "username";
$password_RC = "password";
$RC = mysql_pconnect($hostname_RC, $username_RC, $password_RC) or trigger_error(mysql_error(),E_USER_ERROR); ?>





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>Randomly Challenged&#8482; Frequently Asked Questions</title>
<link href="style.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
a:link {
      text-decoration: none;
}
a:visited {
      text-decoration: none;
}
a:hover {
      text-decoration: underline;
}
a:active {
      text-decoration: none;
}
body {
      background-color: #122C3B;
}
.flash{
display: block;
}
body,td,th {
      font-family: Arial, Helvetica, sans-serif;
      
}
.style19 {color: #027ac6}
  .sublinks{font-family:Helvetica; font-size:11px;  color:#666666; line-height:14px  }
  .sublinksWIT{font-family:Helvetica; font-size:11px;  color:#FFFFFF; line-height:14px  }
.style22 {
      color: #027ac6;
      font-size: 16px;
      font-style: italic;
}
 
-->
</style>
<script type="text/JavaScript">
<!--
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
</script>

<script type="text/javascript" src="http://www.randomlychallenged.com/js/swfobject.js"></script><!--this is the JS for the SWFOject that embeddes the flash header and anyother flash content -->
//-->
</script>
</script>
<!--The javascript below is for the flash pop up -->
<SCRIPT LANGUAGE="JavaScript">
function popup() {
window.open('http://www.randomlychallenged.com','','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,width=500,height=400,left=300,top=400');

}
</script>
</head>


<body onload="MM_preloadImages('../images/loginBtnon.gif','images/ProSearchBtnDOWN.gif','../images/LogoutBtnDOWN.gif','images/ChallengeHubBtnDOWN.gif','images/NewsHubBtnDOWN.gif')">
<table width="950" border="0" cellpadding="0" cellspacing="0" bgcolor="#122C3B" align="center" >
  <!--DWLayoutTable-->
  <tr>
    <td width="72" height="44">&nbsp;</td>
    <td width="788">&nbsp;</td>
    <td width="90">&nbsp;</td>
  </tr>
  <tr>
    <td height="262">&nbsp;</td>
    <td valign="top" >
        <div class="style19"   id="flashcontent"><a href="http://www.adobe.com/downloads"><img src="images/StaticMainHeader.gif" border="0" height="262" width="765" /></a></div>
        <script type="text/javascript" src="http://www.randomlychallenged.com/js/swfobject.js"></script>
      <script type="text/javascript">
   var so = new SWFObject("http://www.randomlyChallenged.com/RCFlash/Loader.swf?myTitle=FAQ's", "", "766", "262", "7", "#122c3b");
   
   so.write("flashcontent");
      </script></td>
    <td>&nbsp;</td>
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  <tr>
    <td height="652" colspan="3" valign="top"><table width="950" border="0" cellpadding="0" cellspacing="0" bgcolor="#122C3B">
      <!--DWLayoutTable-->
     
      <!--DWLayoutTable-->
     
     
      <tr>
        <td width="75" rowspan="7" valign="top" style="background-image:url(images/FAQban.gif); background-repeat:no-repeat;"><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td width="36" rowspan="6" valign="top" bgcolor="#FFFFFF"   style="background-image:url(images/LtsidePlain.gif);  background-repeat:repeat-y; "><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td width="55" height="83" valign="top" bgcolor="#FFFFFF" style="padding-top:20px;  background-image: url(images/LinkBGCenter.gif); background-repeat:"  title="Logout"><a href="Logout_Script.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('Logout','','../images/LogoutBtnDOWN.gif',1)"><img src="../images/LogoutBtn.gif"  title="Logout" alt="Logout" name="Logout" width="50" height="55" border="0" id="Logout" /></a></td>
                       
          <td width="53" valign="top" bgcolor="#FFFFFF" style="padding-top:18px; background-image: url(images/LinkBGCenter.gif); background-repeat:" title="News Hub"><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td width="377" valign="top" bgcolor="#FFFFFF"  style="background-image: url(images/LinkBGCenter.gif); background-repeat:"><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td width="53" valign="top" bgcolor="#FFFFFF"  style="padding-top:18px;  background-image: url(images/LinkBGCenter.gif); background-repeat:"><span style="padding-top:18px; background-image: url(images/LinkBGCenter.gif); background-repeat:"><a href="./NewsHub.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('News Hub','','images/NewsHubBtnDOWN.gif',1)"><img src="images/NewsHubBtn.gif" alt="News Hub" name="News Hub" width="50" height="55" border="0" id="News Hub" /></a></span></td>
                         
          <td width="53" valign="top" bgcolor="#FFFFFF"  style="padding-top:18px; background-image: url(images/LinkBGCenter.gif); background-repeat:"><a href="#" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MyGalleryBtn','','images/MyGalleryBtnDOWN.gif',1)"><img src="images/MyGalleryBtn.gif" title="My Gallery" alt="My Gallery" name="MyGalleryBtn" width="50" height="55" border="0" id="MyGalleryBtn" /></a></td>
                         
          <td width="53" valign="top" bgcolor="#FFFFFF"  style="padding-top:18px;  background-image: url(images/LinkBGCenter.gif); background-repeat:"><a href="http://www.randomlychallenged.com/node/<?php echo $idlink; ?>" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('MyBlogBtn','','images/MyBlogBtnDOWN.gif',1)"><img src="images/MyBlogBtn.gif"  title="My blog" alt="My Blog" name="MyBlogBtn" width="50" height="55" border="0" id="MyBlogBtn" /></a></td>
                         
          <td width="54" valign="top" bgcolor="#FFFFFF"  style="padding-top:18px;  background-image: url(images/LinkBGCenter.gif); background-repeat:" title="Search for other player profiles"><a href="http://www.randomlychallenged.com/ProfileSearch.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('ProSearch','','images/ProSearchBtnDOWN.gif',1)"><img src="images/ProSearchBtn.gif" alt="Profile Search" name="ProSearch" width="50" height="55" border="0" id="ProSearch" /></a></td>
          <td colspan="2" rowspan="6" valign="top" style="background-image:url(images/RtsidePlain.gif); background-repeat:repeat-y;"><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td width="90">&nbsp;</td>
      </tr>
      <tr>
        <td height="56" colspan="7" valign="top" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="119" colspan="7" valign="top" bgcolor="#FFFFFF"  class="text"><?php include($path["docroot"]."faqsupport/home.faq.php"); ?></td>
          <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="41" colspan="7" valign="top" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="229" colspan="7" valign="top" bgcolor="#FFFFFF"><?php include($path["docroot"]."faqsupport/home.topques.php"); ?>          &nbsp;</td>
          <td>&nbsp;</td>
      </tr>
      <tr>
        <td height="22" colspan="7" valign="top" bgcolor="#FFFFFF"><!--DWLayoutEmptyCell-->&nbsp;</td>
          <td>&nbsp;</td>
      </tr>
      <tr>
        <td colspan="9" rowspan="2" align="center" valign="top"   style="background-image: url(images/kubrickfooter.gif); background-repeat:no-repeat; background-repeat:no-repeat; "><div style="padding-top:20px" class="mainlinks"><a href="./Home.php" class="mainlinks">Home<span class="mainlinks" style="padding-top:20px"></span></a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="./TourGuide/xPhoto.html" class="mainlinks">Tour Guide</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="./Registration.php" class="mainlinks">Registration</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.randomlychallenged.com/blog" class="mainlinks">Official Blog</a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="http://www.randomlychallenged.com/gallery2/main.php" class="mainlinks">Official Gallery</a><a href="./Solutions.php" class="mainlinks"> </a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="./ContactUs.php" class="mainlinks">Contact Us </a>&nbsp;&nbsp;|&nbsp;&nbsp;<a href="./SuggestChallenge.php" class="mainlinks">Suggest a Challenge </a> </div>          
        &nbsp;</td>
          <td width="20" height="32"></td>
          <td></td>
      </tr>
     
     
        <tr>
          <td height="34">&nbsp;</td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      <tr>
        <td height="22"></td>
          <td colspan="9" align="center" valign="top"  class="sublinksWIT">&copy; 2007 Random LLP, Randomly Challenged&#8482;&nbsp;&nbsp;|&nbsp;&nbsp; <a href="../Rules.php" class="sublinksWIT">The Rules</a> &nbsp;|&nbsp; <a href="../T&amp;C.php" class="sublinksWIT">Terms &amp; Conditions</a> &nbsp;|&nbsp;<a href="../PrivacyPolicy.php" class="sublinksWIT">  Privacy Policy</a></td>
          <td></td>
          <td></td>
      </tr>
      <tr>
        <td height="14"></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td></td>
          <td width="31"></td>
          <td></td>
          <td></td>
      </tr>
     
     
    </table></td>
  </tr>
  <tr>
    <td height="32">&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

Thanks for you time.

RowdyBurnsAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ZvonkoSystems architectCommented:
Downloading if the script in question requires a password:
<script type="text/javascript" src="http://www.randomlychallenged.com/js/swfobject.js"></script>

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
alexcohnCommented:
Are you running IE Mobile? Anyway, make sure the Flash Player installation is not corrupt on your computer, the SWFObject document explicitly ask.

Also, it's hard to understand which rollover event do not work correctly, and how this correlates with Flash Player. Your site is locked with password, and I don't want to hack it to check what one really can see there.
0
ZvonkoSystems architectCommented:
Perhaps a good idea would be to let remove your userid and password from the top of the question by Community Support?
Ask for that here: http:/Community_Support/General/newQuestionWizard.jsp

0
ZvonkoSystems architectCommented:
Looks OK, thanks.
How did you catch this one? Do you have a scanner for sensitive words, like CS? :)
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
JavaScript

From novice to tech pro — start learning today.