Hello
I hope someone can help me. I’ve only really just started getting into Flash and Actionscripting over the last few months and I’m doing my final year uni project (1 week left) and having trouble with some actionscripting and xml.
Basically I have all the usual AS coding sorted out for my XML data and it’s working fine but what I want to do is replace the xml file with another xml file depending on what button (I have 25 different files/buttons to do) is pressed.
So button 1 will put in: xmlFile.load(“button1.xml”)
Button 2 will replace the above scripting with: xmlFile.load(“button2.xml”)
Is this possible? I don’t want to create 25 instances/frames of the full xml text as the xml datat is displayed on an animation and it would significantly increase the file size. Can anyone help by letting me know how and what code I need for this? Thanks.