in sort.php ho questo codice
Codice PHP:
    $query "SELECT id,DATE_FORMAT(data, '%d.%m.%Y') as newData,titolo
    FROM news
    ORDER by data desc
    LIMIT 0,
$tot";
$result mysql_query($query);
$output 'totNews='.mysql_num_rows($result);
while(
$news mysql_fetch_array($result)){
   
$output .= '&data'.$i.'='.$news['newData'];
   
$output .= '&titolo'.$i.'='.urlencode($news['titolo']);
   
$i++;
}
echo 
$output
e in flash al primo frame ho:
Codice PHP:
stop();
Stage.showMenu false;
Stage.scaleMode 'noScale';
System.useCodepage true;

file 'http://www.dominio.it/news.php';
news = new LoadVars();
news.onLoad = function(success){
    if(
success){
        
play();
    }
}
news.load(file); 
e al secondo frame:
Codice PHP:
stop();
function 
News(){
    if(
== news.totNews){
        
0;
    }
    
txtNews.htmlText '[i]'+news["data"+i]+'[/i]
'
;
    
txtNews.htmlText += '[b]'+news["titolo"+i]+'[/b]
'
;
    
i++;
}
News(); 
cosi mi stampa le righe andando a capo e va bene, ma se volessi farli diventare dei link?
ovvero come posso dare il valore della stringa (formattato come link) ad ogni pulsante?