I have an xml file containing swear words that I want blocked from my input boxes in flash. I want to know how I can turn this xml file into an array in flash, then when my submit button is pressed, it checks the input box for any of these words and if it finds one, my dynamic text box says "no swearing"
<?xml version="1.0" encoding="UTF-8"?>
<item label="dog"/> //These are just examples
Any tutorials, source codes, or anything like that would be a great help.