PLEASE HELP: IViewcursor.current


good day

i need trying collect value of 1 array collection referencing value using array collection's result.

ex:

ac1 = {ref1:"name",ref2:"address",ref3:"email"}
ac2 = {name:"myname", address:"myaddress",email:"myemail"}

iviewcursor = ac2.createcursor();

i can name value of ac2 using:

iviewcursor.current.name
(the result = myname)

but need dynamically determine field reference...something effect of:

var i:number=0;
iviewcursor.current(ac1.getitemat(i).ref1);

but, of course, returns error.

thank

j



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Thread: PKI Client 5.00 install (for eToken Pro)

ATmega2560-Arduino Pin Mapping

Crossfader Arduino Tutorial