The Other Worlds Shrine

Your place for discussion about RPGs, gaming, music, movies, anime, computers, sports, and any other stuff we care to talk about... 

  • Flash and XML

  • Somehow, we still tolerate each other. Eventually this will be the only forum left.
Somehow, we still tolerate each other. Eventually this will be the only forum left.
 #146678  by Anarky
 Tue May 25, 2010 5:12 pm
I've been trying to do something for work the last couple of days and I'm banging my head against my desk because I just can't wrap my head around actionscript.

I need to use the following XML in a 300x250 ad placement:
Code: Select all
<deal id="24"> 
  <title>$20 for $40 worth of food & drinks at Simply Fondue</title> 
  <advertiser_name>Simply Fondue - Orange County</advertiser_name> 
  <link>http://dealoftheday.ocregister.com/daily_deals/24</link> 
  <image>http://dealoftheday.ocregister.com/system/daily_deal_photos/24/widget/Screen_shot_2010-05-19_at_4.47.03_PM.png</image> 
</deal> 
Not sure any of you have flash experience, but sweet jesus I hate Actionscript
 #146692  by SineSwiper
 Wed May 26, 2010 12:50 am
I know about XML, but not much on ActionScript. Is it an XML problem, or are you trying to figure out how to write actionscript to read the XML?
 #146711  by Anarky
 Wed May 26, 2010 3:24 pm
SineSwiper wrote:I know about XML, but not much on ActionScript. Is it an XML problem, or are you trying to figure out how to write actionscript to read the XML?
It's trying to write the Actionscript to read the XML.
 #146713  by Kupek
 Wed May 26, 2010 5:03 pm
Surely Actionscript has some libraries for parsing XML?
 #146739  by Anarky
 Thu May 27, 2010 2:03 pm
Kupek wrote:Surely Actionscript has some libraries for parsing XML?
It does, but I've never really worked with XML and AS, so kind of a steep learning curve for this particular assignment. My boss just ended up freelancing it out.