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

flash data integration : Datagrid doesn't show data, although it's there ?


motofzr1000
3/13/2005 8:41:24 PM
Hi, I've read the Business Directory Sample Tutorial from the Macromedia
website, and I've set up my own MySQL database, with some modifications. I'm
quite new to this kind of stuff, and I am experiencing some problems... I've
done everything as described in the tutorial, and everything seems to work,
except for one thing... First, you have to select a category, and then the
Datagrid should show the records of that category. The strange thing is that my
movie doesn't actually show the records, but you can click on it, and then it
shows the detailed information. I've used the FLA file from the author, and
modified it, but I don't know exactly where to look for the problem. The only
things that I've changed, are the names of the different elements, and the
database tables, and actually it works just fine, except that you can't
actually see the records in the Datagrid... I've put an example online, and you
can access it here: http://193.109.189.54/aci/test.html My second question is:
there are some characters in the records of the database, such as ? and ?, and
my flash movie doesn't show those characters. After some exploration, I've read
something that I should put <?xml version='1.0' encoding='ISO-8859-1'?> in the
xml-file, but this doesn't work... Originally, this was <?xml version='1.0'
encoding='UTF-8' ?>, but that didn't work neither... Could someone please help
me with this ? Thanks in advance, Jurgen
mongenix1
3/14/2005 12:09:08 AM
I have somewhat the same problem. I bound an XML Connector, DataSet and
DataGrid. No errors but no data will show in the grid on multi-column data. If
the XML document has only one column(and I reset the schema info), it shows
each row of the data. If I reset the schema for multi-column data, no data
shows in the grid. I have been 2 days on this, I'm sure it's a simple solution
but I can not find it.
I know this was not a lot of help, but I thought my experience would prompt
someone to help with a solution
Thanks
River888
3/30/2005 5:41:35 PM
Regarding your first error: I had exactly the same problem when using the Data
Connection Wizard and using a .cfc as a web service. Try the following: When
adding Fileds in the wizard or mapping via Actionscript make sure they are in
uppercase Example: in database = CountryName when it reaches Flash =
COUNTRYNAME. As far as the characters: we always escape them before adding to
database. &amp; = &amp;amp; Hope this helps
AddThis Social Bookmark Button