title: Flex: How to call function of embedded swf?
body: <p>I have a Flex 3.4 app that embeds a swf with mx:SwfLoader...</p>
  
  <p></p>
  
  <p>That swf has a public function named "playIt".  I've tried dispatching events to gettingHere.content, casting gettingHere.content as a MovieClip and other stuff...</p>
  
  <p>var swfApp:MovieClip = MovieClip(gettingHere.content);
  if (swfApp.hasOwnProperty("playIt")) {
     var helloWorld:Function = (swfApp["playIt"] as Function);
     helloWorld();
  }</p>
  
  <p>to no avail.  Help!</p>