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 / August 2006



Tip: Looking for answers? Try searching our database.

DataGrid/XMLConnector quirk?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
skylarchalland - 21 Aug 2006 23:52 GMT
I am using the Macromedia tutorial on Data Integration to populate a DataGrid
from an XMLConnector:


http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.ht
m?context=LiveDocs_Parts&file=00000756.html

I have it working fine, but when I try to put it in my application I found a
weird quirk. What I have found out is that if you have the DataGrid inside a
movie clip, go to another frame within that clip, and then go back to the frame
(with the data grid) it will NOT load the data. To see what I mean go to:
http://www.idsgn.org/temp/working2.swf

Click load, then hit next, and the back again. Try loading and it won't.

Is this a bug or am I missing something? When I try to dig in the code I find
that the XMLConnector IS getting the xml, but is not populating either the
DataSet or the DataGrid...

Source files:
http://www.idsgn.org/temp/xmlgrid.zip

Any ideas? Thanks!
The Feldkircher - 24 Aug 2006 08:36 GMT
G'day

OK!, The problem I think is with the data binding of symbol1 if you remove
symbol 1 and place all components on the stage in frame 1 and #2 in frame 2 of
the Main Timeline the problem goes away.

Hope this helps
skylarchalland - 24 Aug 2006 14:44 GMT
I suppose I should have been more clear. I have the components in a movie clip
for a reason (that's how the application works). It works inside the movie clip
as you can see, but not after you switch frames. Am I doing something wrong or
is this a bug in Flash?
The Feldkircher - 24 Aug 2006 18:09 GMT
I can't see the need for a symbol, but if thats what you need then I think your
only solution is 'hardwire' in A.S an XMLParser
this will then parse the file everytime you return to frame 1. For some reason
the Dataset never gets refreshed - must be a bug in flash, hey if it was simple
everybody would be doing it..........
skylarchalland - 31 Aug 2006 17:13 GMT
It needs to be in a Movie Clip, because it is part of a more complex application (with windows, scrolling frames, etc). Thanks for you help though, I submitted the bug to Adobe.
 
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.