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 / October 2005



Tip: Looking for answers? Try searching our database.

Data Grid cell press question...

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
C-Rock - 13 Oct 2005 15:54 GMT
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
    }
}
 
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.