Talk:Embedding XML in AS3

XML performance problems
I'm not sure that this is a very good idea, because it's really slow (atleast making it in As3, and I seem to remember that parsing it was very slow) http://jacksondunstan.com/articles/387 Wouldn't it be better to make interfaces and use those for storing embedded data? It's not as flexible, but it runs faster.


 * The article you link to is about building XML, not reading it. --Biomechanic 10:39, 18 June 2010 (UTC)


 * For levels with an extremely large amount of objects with many variables, etc. it could become a problem, that is if performance is even an issue for the developer, but that's hardly a reason to dismiss XML. XML is great for many other reasons, such as its simple syntax, multi-language accessibility, and human readable format. I'm developing a game with XML levels right now and the level files load instantaneously without a problem, so I don't think it's something to worry about too much. We're not here to advocate one thing over another, just write tutorials on how to use them and warn people about the pros and cons. --ChevyRay 14:35, 30 June 2010 (UTC)

Didn't know where to post this, but getting an error when for the embedding. [Fault] exception, information=VerifyError: Error #1014: Class mx.core::ByteArrayAsset could not be found.