Thursday, March 5, 2009

Dynamic ArrayCollection Using Flex

Creating Dynamic Array Collection Using Flex.

 var ob:Object;
var n:String = "Name";
var a:String = "Address";
var ar:ArrayCollection = "";

ob = new Object();

ob[n] = "Ar";
ob[a] = "xyz, UK";

ar = new ArrayCollection();
ar.addItem(ob);


ArrayCollection filterfunction

1 comment:

  1. Hi, M stuck in this. can u pls help.
    when i am using Alert to see the array collection:
    Alert.show(ar.toString())

    i am getting
    [object Object],[object Object] as output..which is not correct..
    plese help.. how can i get the exact arraycollection.

    ReplyDelete