title: Reload embed with javascript
body: <p>Hi to every one I want to how I can reload a flash embed , </p>
  
  <p>I try to reload with the follow code:</p>
  
  <pre><code>    function reload()
     {
      if (timerID)
      {
          clearTimeout(timerID);
      }
  
      tmp = findSWF("chart");
      x = tmp.reload("data.php");
  
      timerID = setTimeout("reload()", 3000);
  }
  
  
  function findSWF(movieName) {
  if (navigator.appName.indexOf("Microsoft")!= -1) {
  //return window["ie_" + movieName];
  return document.getElementById('ie_'+movieName);
  } else {
  //return document[movieName];
  return document.getElementById(movieName);
  }
  }
  </code></pre>
  
  <p>But the i get the follow js error:</p>
  
  <p>tmp.reload is not a function</p>
  
  <p>some know how to fix it, or if Im doing it rigth?</p>
  
  <p>Thanks!!</p>