Thread View: free.it.appl.macromedia.flash
1 messages
1 total messages
Started by wbrivio
Thu, 30 Apr 2009 20:32
Modificare diensione font di TextFeld a runtime
Author: wbrivio
Date: Thu, 30 Apr 2009 20:32
Date: Thu, 30 Apr 2009 20:32
16 lines
1656 bytes
1656 bytes
Ho una scena con un TextField ed un pulsante.
Vorrei che alla pressione del punte venga modificata la dimensione del
font del TextField.
Utilizzo questo codice, ma non funzione:
on (release) {
var tf:TextFormat = new TextFormat("Miriad Pro",8);
var newFormat:TextFormat = new TextFormat();
newFormat.size = 32;
Home.setTextFormat(newFormat);
}
"Home" รจ la variabile associata al TextField.
Qualcuno mi puรฒ aiutare.
Grazie
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads