Forum Moderators: open
First exuse me for my bad english.
Sommaire.asp give a string like that :
Titre1=Kenya&Titre2=Mali and so on
I put the county in a dynamic text field name Titre1, Titre2…
The below code work fine in flash (CTRL+Enter) but they do not work in an html page. Why?
SommaireASP = new LoadVars();
SommaireASP.load("http://www.#*$!.com/Sommaire.asp?ID=Voyage");
SommaireASP.ref = this;
SommaireASP.onLoad = function(succes) {
if (succes) {
for (var i = 1; i<6; i++) {
this.ref["Titre"+i].text = this["Titre"+i];
this.ref["Bulle"+i].text = this["Bulle"+i];
}
} else {
trace("chargement impossible actuellement");
}
};