Wa2s class 10

From IAM MediaWiki Create Change
Jump to: navigation, search

XML

So if you remember looking through Jesse Stratford's XML tutorial in example 4 he pulled in XML that describes a book on Amazon.com and wrote all of the XML to properties of an object in flash so it could be easily accessed throughout his program. I think it's a really great example and the only shortcoming I saw of it was that it can only parse one book. So I made my own XML file that stores information about bands. It's kind of like the book xml, if there were multiple books in one file, and about bands instead of books. Then I modified Jesse's code to parse the xml, putting each band into it's own object. Each object is dynamically named from the name value of that band in the xml. My example can be downloaded here.

Other than that we gave everyone feedback on their project 2 progress today, and had in class time to make sure project to is really, really cool by next week.

PROJECT 2 IS DUE NEXT WEEK.