Flash ci mette un po ad aggiornare le variabile passate ad asp per cui occorre fare tipo un ciclo affinke venga valorizzata proviamo cosi:
- In asp -
MyLanguage = Request.QueryString ("Language")
if Request.querystring("Npg") = "" then
MyPage = 1
else
MyPage = Request.querystring("Npg")
end if
select case PuLanguage
case "De"
select Case MyPage
Case 1
Testo = "Mio Testo Tedesco"
app = "DE" //variabile d'appoggio
Case 4
Testo = "Altro Testo Tedesco"
app = "DE"
End Select
case "It"
select Case MyPage
Case 1
Testo = "Mio Testo Italiano"
app = "IT" //variabile d'appoggio
Case 4
Testo = "Altro Testo Italiano"
app = "IT"
End Select
end select
response.write("testo="&testo)
response.write("&app="&app)
- IN FLASH -
al primo frame metti
app = "";
testo = "";
loadVariablesNum(/giro/testo.asp", "", "POST");
il secondo frame vuoto
nel terzo frame
if (app ==""){
gotoAndPlay(2);
}

Rispondi quotando