A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: XML data disapearing after navigation?

  1. #1
    Member
    Join Date
    Dec 2000
    Location
    Austin, TX
    Posts
    31

    XML data disapearing after navigation?

    Using MX 2004 Pro, I'm importing in some data via the XML Connector and the Dataset, all this works GREAT!

    The problem I'm having is that when I navigate off the frame that contains the DATA and come back, it's GONE, meaning that the DataGrid is empty.

    Oh, I just found out, that it behaves the same way if you don't START on the frame containing the data. Meaning it works if that is the first frame I go to, but NOT if I go to frame 2 then back to frame 1.

    Any ideas?

    Thanks!
    -Paul
    Last edited by paulbradley1; 11-06-2003 at 05:07 PM.

  2. #2
    Hi,

    Your problem is the very reason I don't like using the xmlConnector. The problem is all the paramaters are set on the instance of the xmlConnector so you then need to have it appear in all the frames of your movie where you want to access the data.

    You would be better of using code.

    myXml = new XML();
    myXml.load("my_xml_doc.xml");

    then you can access it from any where in your movie. check out the help for more info on the XML() object.

    hope that helps,

    gmc

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center