Salve ragazzi,
ho creato uno script php e fin quì tutto bene.
ho provato a creare questo Action Script
ma riesco solo a caricare dal mio while fatto con il php un solo risultato nonostante abbia impostato una variabile "i" sia nel php ke nel Action ke incrementi la variabile che deve kiamare

Posto quì il mio script php e e la funzione ke dovrebbe richiamare i risultati:
Il php:
Codice PHP:
$i 0;
$result mysql_query("SELECT id, data, titolo, testo FROM news ORDER by id DESC LIMIT 0, 3");
while(list(
$id$data$titolo$testo) = mysql_fetch_row($result)) {
$data explode(" "$data);
$data strftime("%d-%m-%Y"$data);
$output .= '&data'.$i.'='.$data;
$output .= '&titolo'.$i.'='.urlencode($titolo);
$output .= '&testo'.$i.'='.$testo;
$i++;
}

echo 
$output
L'Action:

function News() {
i = 0;
while(i <= 5) {
txtNews.htmlText = ''+news["data"+i]+'
';
txtNews.htmlText += ''+news["titolo"+i]+'
';
txtNews.htmlText += news["testo"+i];
txtNews.htmlText += i;
i++;
}
}