title: Populating an array collection by parsing a string
body: <p>In ActionScript I have string as  </p>
  
  <pre><code>str="subject,r1,r2:a,b:1,2:3,4";
  </code></pre>
  
  <p>dynamically i have split this string and build array collection as given below </p>
  
  <pre><code>arraycoll.addItem({subject:a ,r1:1,r2:3});
  </code></pre>
  
  <p>this example of one set </p>
  
  <p>the arraycollection  should be built  dynamic i have tried but not successful </p>