Datasets !?!?!?

Hi everyone…

im having some trouble getting my head around how to use the DataSet component in MX 2004.

I need to draw a heap of objects based off the following schema:


<Trable>
   <Week>
	  <wID>13</wID>
	  <Task>
		 <UID>1223</UID>
		 <Description>blah blah</Description>
	  </Task>
   </week>
</Trable>

i’ve got this data being loaded into the Dataset with no problems, however, now i need to build a class that cycles through the datasets items and attach a MC to the timeline for every ‘task’.

now my question is, how do I cycle through the dataset? I’ve worked out how to do it on the root level [i.e. return items through dataset.currentItem.ID] but how to I dig down and cycle through its children? as the number of ‘tasks’ and ‘weeks’ vary greatly.

thanks for your help in advance…please someone help, I really need it !!!

Cheers :huh: