title: return value from flash to javascript
body: <p>How can I return a value from AS3 to javascript. I am calling a AS3 method from JS and want that AS3 method to return back a string:</p>
  
  <pre><code>//javascript
  var string = swfObject["abcmethod"](arg1);
  </code></pre>
  
  <p>The only way I know of is to add a callback method which is called from flash back in JS. Is there a better way?</p>