I have arrays and variables in a loop in function loadXML()
now in this function I have a link.addEventListener(MouseEvent.CLICK, clicked);
now in clicked I want to access variables that are in loadXML()
How do I do this? Do I need to pass arguements in the listener?
In AS2 I would just make them _global.