mmmm

se usi il nome istanza devi settare da codice il testo come html

my_txt.html = true;
my_txt.htmlText =" this is bold text ";


quindi nel tuo caso

mioTesto_txt.html = true;
mioTesto_txt.htmlText =testo;

oppure usa il neme della var e spunta testo html dal pannello delle proprietà della casella dinamica (come hai fatto)