Questions about FB 4 data-centric development


i have been looking @ new fb4 data-centric development features. far, figured out how bind results of call service yields collection of typed objects – in case, called products. problem having tutorials , other things have found show how create, call service , bind results visual component, done in design view. cute , lot of fun, understand fully. so, questions:

 

the result of service call collection of objects: how refer collection keep using data – filtering categories in combobox , displaying filtered results; or binding collection other components? have tried using debugger see these things, no luck.

 

how can bring data flex , store – maybe in array or arraycollection later use, without having bind visual component right beginning?

 

all material have been able find doing in design view. can point me tutorial or can see how code these things in as/mxml?

 

i appreciate ideas. best regards,

 

carlos

//define call

ro = new remoteobject;

ro.destination = "getdataservice";

ro.getdata.addeventlistener("result", getdataresulthandler);

 

//make call server

ro.getdata();

 

//handle result.

private function getdataresulthandler(event:resultevent):void

{

     myarraycollection = new arraycollection(event.result array);

}

 

 

so data sites in myarraycollection, , can whatever it.



More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO