onLoad

Hello again, this is more a question than a solution request, here we go…

I have this code


myXML.onLoad = function(success){
    code
    more code 
    and code ++
}
myXML.load("gallery.xml");

so, where is my code inside the function I have some variables which are global variables that I declared and I attempt to use outside of the function.

Is this possible ? I ask the question cause I don’t see that they work :cantlook: