I'm trying to learn how to deal with XML in my flex applications and I'm having some trouble. I created a simple flex form and PHP file. The PHP queries a mySQL database and prints out a line of text in XML format. Next I went into Flex builder 3 and created the code shown below (from an example). The application works, putting the data into the datagrid but I want to retieve the data and use it in an action script function. This function could possibly populate the text imput fields with the data from the SQL table. Can someone help show me how to accomplish this taks?