Ciao,
Ho fatto un TextFormat....
stile = newTextFormat()
stile.font("verdana")
è possibile utilizzare un carattere incorporato nel TextFormat? Se si come?...lo scrivo al posto di "verdana"? :master:
Grazie
Ciao,
Ho fatto un TextFormat....
stile = newTextFormat()
stile.font("verdana")
è possibile utilizzare un carattere incorporato nel TextFormat? Se si come?...lo scrivo al posto di "verdana"? :master:
Grazie
Per favore, almeno ditemi se è fattibile...è urgente.
mi sa che non c'è modo di incorporare i caratteri via codice, ci sarebbe l'embedFonts, ma sinceramente l'ho provato parecchie volte in mille modi diversi e non ha mai funzionatoOriginariamente inviato da Zippo
Ciao,
Ho fatto un TextFormat....
stile = newTextFormat()
stile.font("verdana")
è possibile utilizzare un carattere incorporato nel TextFormat? Se si come?...lo scrivo al posto di "verdana"? :master:
Grazie![]()
![]()
![]()
![]()
grazie comunque della risposta
puoi creare un campo di testo dentro un clip, da mettere in libreria, con i font incorporati "manualmente" e richiamarlo solo quando ti serve, io di solito quando non uso un carattere standard, faccio cosìOriginariamente inviato da Zippo
![]()
![]()
![]()
grazie comunque della risposta![]()
dal forum di ationscript.org
DOMANDA:
RISPOSTA:am dynamically creating a textField.
_root.createTextField("firstText", 1, 300, this._y, 300, 100);
myFormat = new TextFormat()
myFormat.bold = 1;
_root.firstText.text = "just testing";
_root.firstText.setTextFormat(myFormat);
_root.firstText.embedFonts = 1;
I am trying to do this because i want to use the _rotation option on my text field. however, if the fonts are not embed text vanishes.
but, even when i do place the embed call text still vanishes. am unsure as to what might be the problem. any ideas?
non posso fare delle prove perchè qui non ho flash, però parla abbastanza chiaro 'sta cosa, se riesci a provare poi fai sapere mi raccomandoIn order to use embedFonts, you first have to add the font to your library. (Add Fonts from the library menu). Then, make sure the linkage of the font is set to "Export for ActionScript"
metto anche il link alla discussione completa in caso che la risposta non basti --> qui
Interessante! Ho importato il font nella libreria...però non so come associarlo al TextFormat![]()
l'embedFonts è una proprietà del textField, come il multiline, il wordWrap ecc... perciò lo devi far richiamare al campo di testo, de_più_nin_zòOriginariamente inviato da Zippo
Interessante! Ho importato il font nella libreria...però non so come associarlo al TextFormat![]()
dipende dalle azioni che stai facendo, insomma io ho presupposto che tu stia usando un textFormat perchè hai creato un campo dinamico tramite codice, ma magari mi sbaglio? :master: