Hi Norm, I always transform them into internal AS objects or arrays.
I am still writing my XMLs manually. So can you give me some info about Unison. Is there a trial or something like that? Kind regards Cor van Dooren -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Norman Cousineau Sent: maandag 1 december 2008 21:02 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] eLearning content starting from XML - best practice Hi Flashcoders, I'm currently using a product called Unison for creating eLearning. It produces an XML file that contains all info needed for the SCO: attributes at the root level to describe preferences, and child nodes to describe topics and pages. Each of those has its own set of preferences defined in attributes. The main FLA builds the table of contents and displays content using a "procedural" programming approach (using 4 .as files included on a timeline). The XML object is manipulated as an XML object, the info is NOT converted to any other type of AS object. In my opinion, it would make sense to convert all the XML nodes to AS objects. At the top level could be a "Course" whose members mirror the root level attributes of the XML. Further, each Course has Topic instances, and each Topic has Page instances. This seems more manageable to me, but it creates a bunch of objects in memory, rather than just working with one XML object. I don't have a heck of a lot of experience with this kind of architecture, so I'd like to know your opinions. Thanks, Norm _________________________________________________________________ _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.12/1822 - Release Date: 1-12-2008 8:23 _______________________________________________ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders