i have some flash thumbnails in a wordpress website, that when clicked open up files in shadowbox. That works fine, but when i try to use imported variables (from a txt file) for the URLs instead of adding links manually it doesn't work:
This works fine:
Code:
btn_mc.onPress = function() {
getURL("javascript:abrirSB('img','Title','http://www.website.com/image1.jpg');","_self");
}
But this doesn't work at all, it just keeps trying to load the image (not getting any errors in Firebug though):
Code:
btn_mc.onPress = function() {
getURL("javascript:abrirSB('img','Title','_root.link1');","_self");
}
instead of '_root.link1' i've tried all sorts including 'link1', _root.link1, link1 etc etc