It works if i have an empty textfield that embeds the font, otherwise it
doesent. I have the font embeded in the project for other stuff so thi works
thanks
//F
-Ursprungligt meddelande-
Från: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] För Jorge Rego
Skickat: den 22 november 2005 14:56
Till: Flashcoders mailing list
Ämne: Re: [Flashcoders] Embedding fonts in component
Hi,
Try this way,
--
var anArray:Array = new Array(Um,Dois,Três,Quatro,Cinco);
comboListener = {
change : function(evt){
var type = evt.type;
var target = evt.target;
trace(_cb.selectedIndex);
}
}
_cb.setStyle(embedFonts, true);
_cb.setStyle(fontFamily, YOUR FONT HERE);
_cb.setStyle(fontSize, 8);
_cb.setStyle(themeColor, 0xee);
_cb.dataProvider = anArray;
_cb.addEventListener(change, comboListener);
--
In addition to this,
Does anyone know how to change the color of the selected active item color
in the list?
It's always green even if i change the themeColor to haloBlue or
haloOrange...
Jorge Rego
- Original Message -
From: Fredrik Lantz [EMAIL PROTECTED]
To: 'Flashcoders mailing list' flashcoders@chattyfig.figleaf.com
Sent: Tuesday, November 22, 2005 1:15 PM
Subject: [Flashcoders] Embedding fonts in component
Hi
Im working on a project were im jusing a combobox, i have to use a mask
over
it but then the selected item wont show, probably because the font isnt
embeded.
The problem i have is to embed the font. Does anyone have a solution to
this
problem.
Realy greatful for all the answers i can get.
//Fredrik
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders