Ciao a tutti! Chi mi può aiutare?
Ho un file news.txt esterno che viene caricato da flash
Questo file scorre verticalmente tramite 2 bottoni (up_btn e down_btn).
Funziona quasi tutto, mi sfugge solo una cosa.
L'azione che carica il mio file esterno è questa:
System.useCodepage = true;
loadVariables("public/news.txt", campo_mc);
_root.campo_mc.createTextField("news_txt",0,0,0,4. 294000E+002,10000);
_root.campo_mc.news_txt.variable = "testo";
_root.campo_mc.news_txt.html = true;
_root.campo_mc.news_txt.condenseWhite = true;
_root.campo_mc.news_txt.text = news;
Poi nello stage ho una clip con nome di istanza campo_mc al quale sono associate le seguenti azioni:
onClipEvent (enterFrame)
{
if (_root.giu2 == true)
{
_root.campo_mc.news_txt._y = _root.campo_mc.news_txt._y-15;
} // end if
if (_root.giu == true)
{
if (_root.campo_mc.news_txt._y !== 0)
{
_root.campo_mc.news_txt._y = _root.campo_mc.news_txt._y + 15;
} // end if
} // end if
}
E' tutto ok, però come faccio a fare in modo che il testo che appare vada a capo e si legga tutto?
guardate qui
il testo di esempio "SABATO 23 SETTEMBRE ecc ecc" viene troncato, io invece voglio che vada a capo e ovviamente che si legga tutto.
Grazie in anticipo!

Rispondi quotando
che siamo tutti qui inesperti ed il forum serve a questo...
