Could someone help me out on How to generate an ArrayCollection using java (will pass through RemoteObject) to Flex? the hard part for me is the AC contains multiple objects and each object has more than one elements. here is the AC look like:
public var dpac:ArrayCollection = new ArrayCollection ([ { machine:"m1", task1:"make", starttime1:"2007-04-19", endtime1:"2007-04-20",state1:"pass",task2:"sell", starttime2:"2007- 04-20", endtime2:"2007-04-22", state2:"pass"}, { machine:"m2", task1:"enu",starttime1:"2007-04-22", endtime1:"2007-04-24", state1:"failed", task2:"ins", starttime2:"2007-04-25", endtime2:"2007-04-26", state2:"pass"}, { machine:"m3", task1:"ru",starttime1:"2007-04-27", endtime1:"2007-04-28", state1:"pass", task2:'', starttime2:'', endtime2:'', state2:''}, { machine:"m4", task1:"enu",starttime1:"2007-04-29", endtime1:"2007-04-30", state1:"pass", task2:"nst", starttime2:"2007- 04-30", endtime2:"2007-05-01", state2:"pass",} ]); thanks, hq