0 Replies Latest reply on Mar 9, 2010 10:03 AM by jsd99

    Passing complex object from JavaScript to Flex

    jsd99 Level 3

      Is it possible to call a Flex function (defined with ExternalInterface.addCallback) and pass a complex object from Javascript?  The properties of the object are all simple types, but the object itself is an array of objects.  For example:


      <script type="text/javascript">

      var arrayOfObj = [ { one: "one", two: 2, three: "blah" }, { one: "xyz", two: "abc", three: 3.141 } ];




      What would I do on the Flex side to make this happen?