Did more testing with no luck...
Looks like the variable link is not getting passed to the button mc and I have no idea on how to fix it.
Below is the AS
myData = new LoadVars();
myData.load("anastasio.php");
myData.ref = this;
myData.onLoad = function(succes){
if(succes){
for(var i=0; i<this.cant; i++){
this.ref["Title_txt"+i].htmlText = "<b>"+this["Fname"+i]+"</b>"
this.ref["holder_mc"+i].loadMovie(this["Fimage"+i])
this.ref["Comments_txt"+i].uri = this.ref["Furl"+i];
this.ref["Comments_txt"+i].onRelease = function() {
getURL(this.uri, "_parent")
}
}
} else trace("Error loading data")
}
stop();
This is the variable trace:
onLoad:[function 'onLoad'],
Fname0:"Abruzzo",
= Title_txt, vars is coming through.
Furl0:"06glossary_c.php",
= Furl, vars is coming through.
Fimage0:"\\New\\images\\curtains\\Abruzzo_thumb.jpg"
= Fimage, vars is coming through.
Problem is that (with this code - this.ref["Comments_txt"+i].uri = this.ref["Furl"+i];" the Furl var is not being pushed to Comments_txt0 as you can see below.
Movie Clip: Target="_level0.Comments_txt0"
Variable _level0.Comments_txt0.uri = undefined
Variable _level0.Comments_txt0.onRelease = [function 'onRelease']
Anyone else know what it could be?