Hi again Jorge,
I have dowloaded the sample files and it still not working
I am using php with a local server.
The php file shows the following:
Title0=Anastasio&Comments0=This is a nice guy&Image0=an1.jpg&Title1=In the car&Comments1=Heres Anastasios car&Image1=an2.jpg&cant=2
I assume this is correct. All the files are in the same folder -- try
this is the flash code:
I have also changed the url
//Create LoadVars object and load file
myData = new LoadVars()
//myData.load("anastasio.asp") //asp line
myData.load("
http://localhost/try/anastasio.php") //php line
myData.ref = this
//Fetch data
myData.onLoad = function(succes){
if(succes){
for(var i=0; i<this.cant; i++){
this.ref["Title_txt"+i].htmlText = "<b>"+this["Title"+i]+"</b>"
this.ref["Comments_txt"+i].text = this["Comments"+i]
this.ref["holder_mc"+i].loadMovie(this["Image"+i])
}
} else trace("Error loading data")
}
stop()
What am I doing wrong I have tried everything. It is not happening for me.
I would really appreciate it if you could look in to it.