-
links in flash from xml
I have a simple header in which has about 4 buttons. I need to come up with a way that these buttons look at a xml file to get their links instead of hard coding with what i have:
Code:
logobutton.onRelease = function() {
geturl("http://www.ihplan.com" ,"_self");
}
Reason for this is I have alot of different headers for different pages throughout my website but the buttons are the same on all of them...t will make it easier if anything was to change..all i have to do isa edit the xml instead of 20 flash files.
thank you.
-
1 Attachment(s)