Salve a tutti, ho un problema che non riesco a risolvere da giorni.
Allora, dentro il mio fla ho incorporato i font e esportati per actionscript
poi ho cercato di chiamarli così
ho controllato anche trace e i font risultano caricati.Codice PHP:Font.registerFont(Mikey);
Font.registerFont(ParryHotter);
Font.registerFont(SFBalloons);
Font.registerFont(TheGodFather);
//ecc ecc e invocato le classi così
var font = new Mikey();
font.embedFonts = true;
var font2 = new ParryHotter();
font2.embedFonts = true;
var font3 = new SFBalloons();
font3.embedFonts = true;
I fonts vengono scelti dall'utente da una combobox e aggiunti con
Tuttavia, mi da sempre esito negativo, in locale funziona e all'esterno no.. secondo voi qual'è il problema?Codice PHP:case "Mikey" : myFormat.font = font.fontName;
if(getChildByName("Text" + nt) is TextField){
var myTxt:TextField = getChildByName("Text"+nt) as TextField;
var myTxt:TextField = TextField(getChildByName("text" + nt)); myTxt.setTextFormat(myFormat);

Rispondi quotando