Usually by binding to the datagrid's selectedItem.
<mx:TextInput text="{myDg.selectedItem.name}"
________________________________
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Andrew
Sent: Friday, September 21, 2007 3:48 PM
To: [email protected]
Subject: [flexcoders] Custom Components & Data
Hello, i am new to flex and im just starting to get the hang of it.
Currently i am working on a project that requires a custom component.
The problem i am having is how to get data to that component. I am
trying to read tutorials but i must be missing something. Currently it
my main movie that has a data grid that is updated by a xml file. Now
when a user click on a name the into will be displayed to the right of
it in the custom component, i just dont know how to get the data from
the grid to the custom component. Any help would be great.
Thanks...
-Andrew