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



Tip: Looking for answers? Try searching our database.

Uploading XML into Datagrid

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dinghus - 24 May 2005 02:03 GMT
I have CF4.5 (still can't get this customer up to MX) creating an XML file from
a database query.  This is called by a load operation from Flash.  

The XML gets up to Flash no problem, but now, how do I get it into a Datagrid?

I thought the datagrid component saw an XML file as an array but I guess not.

This is my AS right now.

myXML = new XML();
myXML.ignoreWhite = true;
myXML.onLoad=function(success) {
    if(success) {
        myDG.dataProvider = myXML;
    }
}

myXML.load("dataSource.cfm");
Dinghus - 24 May 2005 22:25 GMT
Am I the only one in the whole wide world who runs into this type of problem?  
I always seem to ask questions that nobody can answer.  Somebody MUST know
about getting XML into a datagrid.  I can't believe nobody else has ever done
this.

And of course there is no documentation that I can find on this on the
Macromedia site.
Dinghus - 25 May 2005 02:16 GMT
Well, I found one way.  Loop over the XML and do ADDITEM to the datagrid.  
Seems like the hard way but nothing else works, not even making the data into
an array first.

Weird.

And nobody else has ever done this before.  That is really strange. :)
 
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.