PDA

View Full Version : [AS2] Setting font face/family of items in combobox


AShatesME
07-23-2008, 11:56 PM
I'm trying to create a basic font face drop down that lists out all of the different fonts available to be used, however I want each font to show up in it's proper face and not all in _sans or whatever the default is. Does the combobox component allow setting font face per item?

pierre23
07-24-2008, 12:03 AM
it might have something to do with embedFonts and fontFamily,

http://livedocs.adobe.com/flash/mx2004/main_7_2/wwhelp/wwhimpl/common/html/wwhelp.htm?context=Flash_MX_2004&file=00002145.html

also

http://board.flashkit.com/board/showthread.php?t=759166 might help

AShatesME
07-24-2008, 04:07 PM
Yeah I've seen those two before which deal with changing the font of the entire box. Does anyone else know of a way to create a font drop down list where each font is using it's proper face?

asf8
07-24-2008, 07:11 PM
Does anyone else know of a way to create a font drop down list where each font is using it's proper face?

For anyone else looking for this, it was answered here
http://www.actionscript.org/forums/showthread.php3?t=177854