Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / September 2005



Tip: Looking for answers? Try searching our database.

how to create a dataBinding?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mark.P. - 26 Sep 2005 18:04 GMT
I'm having problems creating a binding between a List Component linked to an Accordion Component and a DataSet.  Can anyone help with this?

Thanks
Mark.P. - 26 Sep 2005 19:18 GMT
Okay.. I got the binding to work from the dataSet to the List in the Accordion.
Now how to I format it so that it only shows the content from a certain node
as the Label, in this case the <projectName> node.  I've been going over a lot
of samples, but they don't make much sense to me.

import mx.data.binding.*;
var src = new EndPoint();
src.component = myDS;
src.property = "items";
src.formatter.label = "<name>";
src.event = "afterLoaded";

var dest = new EndPoint();
dest.component = myAccordion_acc.getChildAt(0).projectList_lst;
dest.property = "dataProvider";

new Binding(src, dest);
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.