Home
minimonkey - Fun with XML!
Links
My MiniMonkey
My Netflix Profile
Threadless - Sweet T-shirts (I'm addicted)
Cute Overlord... uh, I mean Overload
July 2009
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
 
Tue, Oct. 21st, 2008 03:28 pm
Fun with XML!

After roughly a year of procrastinating about learning ActionScript 3.0 due to other projects always being on fire and... well... procrastination, it is finally my prime directive at work to learn the sucker. All projects going forward will be using the new version of our in-house authoring tool, which is built to use a brand-spankin' new version of our proprietary engine which uses AS3!

I've been reading about AS3 for a few days now, but just today I got around to how working with XML is handled. Pardon me while I completely nerd out for a minute here and say that working with XML in ActionScript 3.0 is freaking awesome!!!

It's so easy and intuitive and simple that I actually cannot wait until the next project comes along where I have to pull in a large amount of XML data. I used to hate it -- the way ActionScript 2.0 handled XML was cumbersome, ugly, and more trial and error than anything to get up and running. It required buckets and buckets of code to parse all the information out of an XML file and into a workable format. But not anymore -- the need to parse is completely gone. You can just take any old XML object and easily pluck the information you need right out of it with no fuss.

Tags:
Current Mood: excited

2CommentReplyAdd to MemoriesTell a Friend


(Anonymous)
Wed, Oct. 22nd, 2008 10:34 pm (UTC)

I completely agree! I first realized how AS3 XML syntax worked from reading "Learning ActionScript 3.0" (O'Reilly book by Shupe/Rosser--best AS book I've ever read, by the way). It's so much easier than child, child, child, sibling, child, child, etc.. The best part is being able to make a list of all nodes of the same name even when they're not part of the same parent node! YES!


ReplyThread

(Anonymous)
Wed, Oct. 22nd, 2008 10:36 pm (UTC)

PS, what's OpenID? My name is Tina.


ReplyThread Parent