Ciao a tutti,
nel mio filmato ho un testo dinamico con un livello azioni. Nel fotogramma "azioni" ho questo codice:
testo.text = "bla bla bla bla......";
fscommand("allowscale", false);
su_btn.onPress = function(){
_root.onEnterFrame = function(){
testo.scroll--;
}
};
su_btn.onRelease = function(){
_root.onEnterFrame = undefined;
}
giu_btn.onPress = function(){
_root.onEnterFrame = function(){
testo.scroll++;
}
};
giu_btn.onRelease = function(){
_root.onEnterFrame = undefined;
}
t = new Object()
t.onKeyDown = function(){
if(Key.isDown(Key.UP)){
testo.scroll--
}else if(Key.isDown(Key.DOWN)){
testo.scroll++
}
};
Key.addListener(t);
Ora il problema è che dovrei formattare il testo all'interno della variabile testo.text ma non ci riesco. Mi basterebbe poter inserire i tag br e grassetto.
Qualcuno mi dice come fare?
Grazie

Rispondi quotando