title: Why calling flash function from javascript fails for me?
body: <p>I'm doing it this way:</p>
  
  <pre><code>...
  
  public function j2fCall()
  {
      Alert.show( "j2fCall?");
  }
  
  public function Main( nav: Navigation )
  {
      if(ExternalInterface.available)
      {
          ExternalInterface.addCallback("javascriptUpdateSettings", j2fCall);
      }
  
      ...
  }
  </code></pre>
  
  <p>But when I call <code>javascriptUpdateSettings</code> from javascript,only got the error:</p>
  
  <pre><code>javascriptUpdateSettings is not defined
  </code></pre>
  
  <p>What's wrong above?</p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I'm embedding swf and call it this way:</p>
  
  <pre><code>swfobject.embedSWF("myContent.swf", "myContent", "300", "120", "9.0.0","expressInstall.swf", flashvars, params, attributes);
  swfobject.javascriptUpdateSettings();
  </code></pre>