così non funziona...
ti scrivo tutto il codice che ho messo per entrambe le combo:
elenco = new LoadVars();
elenco.load("db.txt");
elenco.onLoad = function(success) {
for (i=1; i<=Number (this.totale); i++) {
elemento = this ["db"+i];
_root.combodb.addItem(elemento);
}
};
film = new LoadVars();
film.load(combodb.getValue()+".asp");
film.onLoad = function(compila) {
if(compila){
for (k=1; k<= this.tot; k++) {
element = this ["cinlink"+k];
_root.combofilm.addItem(element);
}
}
}