Hi,
I’m currently trying to load specific XML data as a hyperlink into a button,
the hyperlink is saved in the xml-file, and called upon by “childURL”,
now if I assign this function to the child_mc, which is formed into a menu dynamically within an instance named emptyMC, it will give me the link:
btnLink.onRelease = function() {
getURL(childURL, "_blank");
};
problem is I want to assign the link, when the child_mc-movieclip is clicked, to a button named ‘linkbutton’ on the main stage
- which will then load the page assigned in the xml-file when clicked.
How would I load this data inside the button on stage?
All codes I tried just open my browser and link to nowhere.