I'm having the same issue as Lon... It's really frustrating that I'm having
difficulty referencing the data within the component system! i have values
within the DataSet that I'd like to do things do...so how do I make that
reference?
There are countless examples posted where you can grab the data from a
selection in the DataGrid, etc. But I'd like to (for example) dynamically
spawn CheckBox components with labels based on XMLConnector data. How would I
go about referencing that in AS?
Thanks!
What have you tried so far? Maybe we can find the solution - I think it's
mostly a sytax issue.
I am simply loading a single record from an XML file with only 3 data
fields. Like a mentioned, I am able to bind these fields to text areas
components.
I've also added this: (where myConn is the connector instance name)
var res = function (ev) {
trace(ev.target.results);
};
myConn.addEventListener("result", res);
--
The trace returns the entire contents of the XML file, as it should.
I have a dyamiic textbox (instance name tbFname) on the stage, and poplate
it with:
tbVar = ?????
tbFname.text = tbVar;
I've tried various ways to populate the textbox, starting with the most
obvioux - myConn.results.people.fname (similar to the binding path).
I may just go back to using loadVariables, etc....
> I'm having the same issue as Lon... It's really frustrating that I'm
> having
[quoted text clipped - 10 lines]
>
> Thanks!