Ok, I've been working days on this and finally have broke down to ask. I'm
importing via coldfusion, information from a database. Like the parks database
that comes with coldfusion. I'm bringing the data into flash with the flash web
service connector. it works fine bringing in a list of the park types. when the
info is brought into a data grid and i click on a cell i want to invoke another
web service that brings in the park names of the type i just clicked into
another data grid. how is this possible?
The params it would be sending to the second web service connector would be a
string called park type.
cerebius - 31 Oct 2005 20:05 GMT
The following should get you started:
on(cellPress)
{
// Test for the correct cell
if ("Cell Header" == eventObj.target.getColumnNames[eventObj.columnIndex])
{
// Get the data for the row
var rowData:Object = getItemAt (eventObj.itemIndex);
// Call your swf with the other data grid. Perhaps using a popup? Use the
data in rowData to get what you need for parameters
}
}