10 Replies Latest reply on Apr 6, 2011 1:58 PM by shiwonly

    burrito - random data from a xml file?


      Hello, I have a problem. I'm trying to write a simple game in Burrito. But I'm a beginner in action script.


      let's say, I have a xml-file like this:











      and I have aplication with buttons, let's say 4 buttoms

      and Question: Click on a "b".


      <s:Button label="...(1)"
                     click="...(2)" />

      ..(1) how to add a random letter on a button from xml file?

      ..(2) how to check if the answer is correct?


      Thanks is advance for your help!