Flex: changing value in an array where elements are objects

Posted by Treby on Stack Overflow See other posts from Stack Overflow or by Treby
Published on 2010-03-29T01:50:41Z Indexed on 2010/03/29 1:53 UTC
Read the original article Hit count: 345

Filed under:
|

Example:

var arr_1:Array = new Array();
arr_1.push({sdate:"2010-02-02",status:"New"});
arr_1.push({sdate:"2010-02-03",status:"New"});
arr_1.push({sdate:"2010-02-04",status:"New"});
arr_1.push({sdate:"2010-02-05",status:"New"});

How can i change element number 3 status to: "Old", without removing it. just update the status value??

© Stack Overflow or respective owner

Related posts about flex

Related posts about array