4 Replies Latest reply on Sep 26, 2006 10:43 PM by Newsgroup_User

    XML or something else?

    Level 7
      Hi,

      Are there any demos on the web on using XML with Director? I want to
      read an external table of information - nothing too fancy. The table
      would include:
      course, lecturer, room, day, time
      I want a user to be able to open a page to display a particular course
      and edit and save information.

      I could do it with a text file. I was wondering if XML has any
      advantages. Does anyone have any suggestions?

      Thanks.

        • 1. Re: XML or something else?
          Level 7
          XML files are just text files formatted according to certain standards. XML
          is primarily used to transfer data between different systems. In your case,
          it would not serve much purpose.


          "uni-student" <webforumsuser@macromedia.com> wrote in message
          news:45120DE7.67CFAA86@macromedia.com...
          > Hi,
          >
          > Are there any demos on the web on using XML with Director? I want to
          > read an external table of information - nothing too fancy. The table
          > would include:
          > course, lecturer, room, day, time
          > I want a user to be able to open a page to display a particular course
          > and edit and save information.
          >
          > I could do it with a text file. I was wondering if XML has any
          > advantages. Does anyone have any suggestions?
          >
          > Thanks.
          >


          • 2. Re: XML or something else?
            Jamaux
            I found this quite messy when using just Director's xml parser with xml docs. In the end I got flash objects to do it. I found this works well for me. Search around for using flash objects in Director. I think DOUG has some stuff. I've got to mention that you could consider the InvisionDB database for your purposes. Integration New Media make some cracking database products as xtras and give good support as well as lots of behaviours to get you going. It shouldn't take to long to figure out, and you can download everything with the trial version, so you'll be able to tell if it's right for you. Good luck and hope that helps.
            • 3. Re: XML or something else?
              moshplant Level 1
              I did an article for Director Online back in May 2005 about using the Flash Xtra to import XML into Director:

              http://director-online.com/buildArticle.php?id=1154
              • 4. Re: XML or something else?
                Level 7

                Thanks for the suggestions. I've decided it will be easier this time
                around to just use fileIO and text files.

                I'm having a problem though with this. Could you look at my "converting
                text to a variable" if you can to perhaps help with this new problem.

                Thanks