così:
ma non è la soluzione, vorrei scriverla in maniera corretta..Codice PHP:
//
_root.menu.Vertex1.testo.htmlText = nome_btn[1] ;
_root.menu.Vertex2.testo.htmlText = nome_btn[2] ;
_root.menu.Vertex3.testo.htmlText = nome_btn[3] ;
_root.menu.Vertex4.testo.htmlText = nome_btn[4] ;
_root.menu.Vertex5.testo.htmlText = nome_btn[5] ;
_root.menu.Vertex6.testo.htmlText = nome_btn[6] ;
_root.menu.Vertex7.testo.htmlText = nome_btn[7] ;
_root.menu.Vertex8.testo.htmlText = nome_btn[8] ;
_root.menu.Vertex9.testo.htmlText = nome_btn[9] ;
//
Avevo pensato di creare una var temporanea con il valore giusto della clip target ma non va
Molto probabilmente pensa esista un mc di nome "clip"..Codice PHP:
clip = "Vertex" + count ;
testo = nome_btn[count];
_root.menu.clip.testo.htmlText = testo;
![]()

Rispondi quotando