Groups | Blog | Home
all groups > flash data integration > february 2005 >

flash data integration : Datagrid/xmlconnector problem


kouv
2/28/2005 6:23:59 PM
Hi all,

i have an xml file with aprox 6500 records and each of them contains 4 fields.
I used the xmlconnector to connect the xml file with flash. Whenever I try to
load the data Flash crashes.

Has anyone any idea why this is happening?

Is there any way to tell the datagrid to display x number of records and the
rest in a new page or something?

Cheers all

kouv
v2moorthy
4/19/2006 12:00:00 AM
hey..the problem is not with the datagrid...its with the DTD definition as told
by xnlb .. i want you check that and remove any definition statements. And
moreover you cannot specify a number of records to be loaded from an XML file
... the flow is XML file is loaded and parsed by flahs buil-in XML DOM and make
the XML available for the application. Until this process, theres no way to
know what data or how much data is in the XML. Its all known to XML DOM alone!

I have worked with such amount of data and i have not encountered any
problems.. if the problem prevails try writing ur own XML connector and bind it
to the DataGrid.

Hope i am not disappointing u!!

good luck!

regards
moorthy
xnlb
4/19/2006 5:25:09 AM
I found that it chokes on my DOCTYPE declaration. I removed it and it loads.

Which is BS, IMHO. I wrote my XML to spec, validated it against my DTD, but
Flash 8 chokes on:
<!DOCTYPE media-module SYSTEM "mediamodule.dtd">

Either way, I hope this helps. I couldn't find anything in google or this site
relating to this issue. Just a few unanswered questions on various forums.
AddThis Social Bookmark Button