TGotoFrame not working with SWFObject

Ok, got a page, just trying to change a frame in the flash movie on it with an input button.

Does this not work?


<?php
if (!isset($_SESSION)) {
  session_start();
}

require_once('php/isAuthorized.php');
require_once('php/logout.php');

$MM_authorizedUsers = "admin,normal";
$MM_donotCheckaccess = "false";

$MM_restrictGoTo = "login.php";
if (!((isset($_SESSION['MM_Username'])) && (isAuthorized("",$MM_authorizedUsers, $_SESSION['MM_Username'], $_SESSION['MM_UserGroup'])))) {   
  $MM_qsChar = "?";
  $MM_referrer = $_SERVER['PHP_SELF'];
  if (strpos($MM_restrictGoTo, "?")) $MM_qsChar = "&";
  if (isset($QUERY_STRING) && strlen($QUERY_STRING) > 0) 
  $MM_referrer .= "?" . $QUERY_STRING;
  $MM_restrictGoTo = $MM_restrictGoTo. $MM_qsChar . "accesscheck=" . urlencode($MM_referrer);
  header("Location: ". $MM_restrictGoTo); 
  exit;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Carlson Video Uploader</title>
<!--[if lt IE 7]>
    <script src="http://ie7-js.googlecode.com/svn/version/2.0(beta)/IE7.js" type="text/javascript"></script>
<![endif]-->
<style type="text/css" media="screen">@import url(css/style.css);</style>
<script type="text/javascript" src="js/swfobject.js"></script>
<script type="text/javascript">
function editAccount(){
    function getFlashMovieObject(movieName){
      if (window.document[movieName]) {
          return window.document[movieName];
      }
      if (navigator.appName.indexOf("Microsoft Internet")==-1){
        if (document.embeds && document.embeds[movieName])
          return document.embeds[movieName]; 
      }else{
        return document.getElementById(movieName);
      }
    }
    var flashMovie=getFlashMovieObject("uploader");
    alert(flashMovie);
    flashMovie.TGotoFrame("/","addaccount");
}
</script>
</head>
<body>
    <div id="center">
        <div style="float:left;"><img src="http://carlsoncanada.com/Portals/_default/Skins/CMGCorporate/images/carlson_marketing.jpg" alt="Carlson marketing - relationships. results."/></div> 
        <div style="float:right;text-align:right;">
            <br /><span style="font-weight:bold;">Welcome <?php echo $_SESSION['MM_UserRealName']; ?></span><br /><br />
          
            <br />
       <input type="button" value="My Account" style="font-size:10px;" onClick="editAccount();"/>&nbsp; &nbsp;&nbsp;<a href="<?php echo $logoutAction ?>"><input type="button" value="Log Out" style="font-size:10px;" /></a>
    </div> 
    <div style="clear:both;"></div>
        <div id="flashcontent"></div>
        <script type="text/javascript">
               var so = new SWFObject("swf/uploader.swf", "uploader", "900", "400", "8", "#FFFFFF");
              so.addVariable("access", "<?php echo $_SESSION['MM_UserGroup']; ?>");
            so.addVariable("userid", "<?php echo $_SESSION['MM_UserId']; ?>");
            so.addVariable("name", "uploader");
            so.addVariable("id", "uploader");
              so.write("flashcontent");
        </script>
</div> 
</body>
</html>

If anybody has an idea why this isn’t working for me, please let me know.