Hi folks, I have a hear-tearing problem I can't resolve..
It seems so simple but doesn't work

:(
I load data from an xml, no problem with it, but when I use it to send it to a function, the function doesn't recognize it... although if i hardcode the data, it works, when comparing the 2, flash tells me they are different, but when watching the trace output, they're identical.. anyone a clue?
have a look:
function bridge(imageurl){
imageurl2 = "resources/photos/DSCFinale2009/large/IMG_4367.jpg";
trace(imageurl);
trace(imageurl2);
if(imageurl == imageurl2)trace('identical!!');
else trace('different!!!');
//_global.showimage(imageurl); //this one doesn't works
//_global.showimage(imageurl2); //this one works
}
bridge(x.childNodes[this.indice].childNodes[3].firstChild);
- function bridge(imageurl){
-
- imageurl2 = "resources/photos/DSCFinale2009/large/IMG_4367.jpg";
- trace(imageurl);
- trace(imageurl2);
- if(imageurl == imageurl2)trace('identical!!');
- else trace('different!!!');
-
- //_global.showimage(imageurl); //this one doesn't works
- //_global.showimage(imageurl2); //this one works
- }
- bridge(x.childNodes[this.indice].childNodes[3].firstChild);
this gives me in the output:
resources/photos/DSCFinale2009/large/IMG_4367.jpg
resources/photos/DSCFinale2009/large/IMG_4367.jpg
different!!!
- resources/photos/DSCFinale2009/large/IMG_4367.jpg
- resources/photos/DSCFinale2009/large/IMG_4367.jpg
- different!!!