title: Complex FlashVar objects using SWFObject?
body: <p>Is it possible to pass native JavaScript objects such as arrays and hash-map-like objects to Flash Player with SWFObject? </p>
  
  <p>I basically need to pass an array of objects to Flash from JavaScript in the Flash variables, so this is my code:</p>
  
  <pre><code>swfobject.embedSWF("application.swf", "divvy" "100%", "100%", null,
      { 'info': [
          { 'id': 1, 'name': "Hello, John" },
          { 'id': 2, 'name': "Hello, Dave" }
      }]);
  </code></pre>
  
  <p>When I get the object in Flex, I simply get a String that looks like this: "[Object object], [Object object]" which leads me to believe that my array is being serialized into a String before entering Flash. Is there any known workaround?</p>
  
  <p>And yes, I do need to pass Flash variables in this manner, since they'll key off some loading which is necessary to do before the application starts.</p>