Re: [Flashcoders] Re: Help with Image Slideshow - displaying random image

2011-01-24 Thread Anthony Pace
Which method would you like me to expand on? On 1/24/2011 12:33 PM, Christopher Lucas wrote: Anthony, I agree, it is hard to read these emails...but anyway, you said: OOPS...thank goodness I re-read my last post... realized I screwed up, because the first version I made should actually modify y

[Flashcoders] Re: Help with Image Slideshow - displaying random image

2011-01-24 Thread Christopher Lucas
Anthony, I agree, it is hard to read these emails...but anyway, you said: OOPS...thank goodness I re-read my last post... realized I screwed up, because the first version I made should actually modify your original xml. Wow, sometimes I wish this was like a web Forum and you could just click edit

Re: [SPAM?] Re: [Flashcoders] ComboBox label issue SOLVED

2011-01-24 Thread Creighton, Gerry
Sweet! Thanks a lot. On 1/24/11 10:49 AM, "Peter Ginneberge" wrote: > If you want to display both the fontName and fontStyle, define a labelFunction > for the combobox. > > function setLabel(item:Object):String { > var fnt:Font = item as Font; > return fnt.fontName + " (" + fnt.fontStyle + "

Re: [Flashcoders] ComboBox label issue

2011-01-24 Thread Peter Ginneberge
If you want to display both the fontName and fontStyle, define a labelFunction for the combobox. function setLabel(item:Object):String { var fnt:Font = item as Font; return fnt.fontName + " (" + fnt.fontStyle + ")"; } font_cb.labelFunction = setLabel; - Original Message - From: "Crei

[Flashcoders] ComboBox label issue

2011-01-24 Thread Creighton, Gerry
I’m having a problem properly displaying the font name and variant in a combobox. I have fonts embedded in my swf and am exporting for AS. I have a ComboBox that I’m populating from an enumerated font array like so... fontArray = Font.enumerateFonts(false);//using false only enumerates embedded