Hmm good point Ian. Any reason why people would use xml or json files rather than plain text? Ease of editing, speed of loading etc?
With regards security implications, just wanted to be sure there was no problem reading data from the CDROM as I am sure I read somewhere about some issue that arised with Flash 8..... Thanks Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 30 January 2007 08:08 To: Flashcoders mailing list Subject: Re: [Flashcoders] JSON vs. XML for CDROM configuration Um - surely there's a third option, which is plain text? It does depend what you're configuring, but our external configuration files look like java.properties files: language=en useDirectX=true etc. etc. We just read them in using LoadVars (overriding onData) and parse them. Very straightforward. Security implications etc. - well, that entirely depends what you're trying to protect against, and what info you're putting in the configuration file. In general, if the config file is on the CD itself, it's unchangeable, so I don't see a huge issue? Unless I've got the wrong end of the stick and you're talking about configuring a CD-ROM app via a net connection (some sort of activation system) - in which case ignore me. :-) Ian On 1/30/07, Paul Steven <[EMAIL PROTECTED]> wrote: > > I am creating a CDROM application (Flash 8 PC only) and would like to > control it with an external configuration file. > > >From what I can see, I have a choice of a XML or JSON solution - can > anyone > recommend one over the other? > > Also if anyone has a link to a working version of JSON and JSONConfig, > then > I would appreciate it as the version I downloaded is giving me several > errors. > > Any pointers on the use of a configuration file for a CDROM also > appreciated > - such as any problems I could encounter with security etc > > Thanks in advance > > Paul > > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

