DataGrid/XMLConnector quirk?

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default DataGrid/XMLConnector quirk?

    I am using the Macromedia tutorial on Data Integration to populate a DataGrid
    from an XMLConnector:


    [url]http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/common/html/wwhelp.ht[/url]
    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:
    [url]http://www.idsgn.org/temp/working2.swf[/url]

    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:
    [url]http://www.idsgn.org/temp/xmlgrid.zip[/url]

    Any ideas? Thanks!

    skylarchalland Guest

  2. Similar Questions and Discussions

    1. Datagrid, xmlConnector in Internet Explorer
      Hi everybody, I have developped a actionScript interface which connects a mySQL database to get data trough an XMLConncetor and fill a datagrid...
    2. Datagrid - XMLConnector and Dataset.schema
      Hi all, I want to display the contents of an XML file into a datagrid component. So, I use a Datagrid component, an XMLConnector component and a...
    3. Datagrid/xmlconnector problem
      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...
    4. flash datagrid,dataset,xmlconnector and php
      Hi, All I want to do is to have a table load from mysql into a datagrid and display items in a list. I have found examples on the internet but...
    5. Can you give me datagrid bind with xmlconnector
      Pls can you give me datagrid bind with xmlconnector or display data in datagrid from xml file I am fresh to flash mx 2004 Pls help me
  3. #2

    Default Re: DataGrid/XMLConnector quirk?

    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

    The Feldkircher Guest

  4. #3

    Default Re: DataGrid/XMLConnector quirk?

    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?

    skylarchalland Guest

  5. #4

    Default Re: DataGrid/XMLConnector quirk?

    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..........

    The Feldkircher Guest

  6. #5

    Default Re: DataGrid/XMLConnector quirk?

    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.
    skylarchalland Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139