3 Replies Latest reply on Feb 27, 2009 6:46 AM by kglad

    LocalConnection : works synchronously or asynchronously

    flashkeeda
      Hi All,
      I had one "master" swf file which will send the data to child swf files using "LocalConnection". Function "drawChartToExecute" which is in child swf files will draw chart in their respective swf files.

      My question is if I am using "for" loop in "master" swf file to send data to all "child" swf files by LocalConnection. Will Flash will execute functions in child swf files synchronously or asynchronously.

      Scenario : 1 - synchronously
      child1 swf draw the chart > child2 swf draw the chart > child-n swf draw the chart

      Scenario : 2 - asynchronously
      child1 swf draw the chart | child2 swf draw the chart | child-n swf draw the chart

      Can you any one tell me which scenario will work here. All child swf and master swf file are embedded in a single html file & belong to same domain.
      ActionScript Version 2.0 & Flash 8 Professional.

      Thanks in advance
      Prashantha