AM GOING CRAZY - problem with onclock event and swf movies

ONCLICK onclick . . .should have read onclick event arrrggggghhhhh

Hello as you will no doubt know I am a newbie so please be gentle

I am attempting to use swf movies on my website. Its a dynamic website andthe pages are generated via a php and mysql setup. I was wanting to use swf anims for my page header, buttons and various other areas so have been learning like a trouper. Thats the basic background but here are the specifics;

I would like to display an swf movie BUT instead of using actionscript I want to utilise the onClick event to kick off javascript on the webpage to for example
a) Control the opening and closing of AP Divs
b) displaying another page

I have attempted to do this and all was working fine with the browser of my choice FLOCK (Mozilla). I have buttons and animations and when I use the onclick event to kick off javascript there are no problems.

As soon as I use IE the onclick events are totaly ignored. At first I thought that scripting wasnt switched on BUT it is. Then I thought that it was a problem with the javascript BUT I changed the event capture to onfocus and it worked fine in IE but then didnt work in flock (I am going crazy!!!)

heres my java script and an example of the onclick event capture code


 function MM_goToURL() { //v3.0
  var i, args=MM_goToURL.arguments; document.MM_returnValue = false;
  for (i=0; i<(args.length-1); i+=2) eval(args*+".location='"+args[i+1]+"'");

**Heres the event code with embedded swf

<td width="120">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="120" height="40" id="FlashID4" onclick="MM_goToURL('parent','http://localhost/index1.php');return document.MM_returnValue">
        <param name="movie" value="images/Home.swf" />
        <param name="quality" value="high" />
        <param name="wmode" value="opaque" />
        <param name="swfversion" value="" />
        <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don&#8217;t want users to see the prompt. -->
        <param name="expressinstall" value="Scripts/expressInstall.swf" />
        <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="images/Home.swf" width="120" height="40">
          <param name="quality" value="high" />
          <param name="wmode" value="opaque" />
          <param name="swfversion" value="" />
          <param name="expressinstall" value="Scripts/expressInstall.swf" />
          <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
            <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
            <p><a href=""><img src="" alt="Get Adobe Flash player" /></a></p>
          <!--[if !IE]>-->

Is there some kind of mismatch between flash/onclick events/browsers
Hope someone can figure whats going on here cos it is driving me mental