Huh, I guess I did not understand what he was saying. I will look into that.
Thanks, Tracy ________________________________ From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of valdhor Sent: Monday, December 08, 2008 9:50 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: How to display special characters like ° in ComboBox list Tracy Aaron is right. Just copy and paste into ActionScript. Vis: <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="#FFFFFF" creationComplete="onCreationComplete()"> <mx:Script> <![CDATA[ private function onCreationComplete():void { var myDP:Array = [{data:"0", label:"0°F"},{data:"20", label:"2°F"}]; myComboBox.dataProvider = myDP; } ]]> </mx:Script> <mx:ComboBox id="myComboBox" x="100" y="200" rowCount="2" prompt="ComboBox Test"/> </mx:Application> Steve --- In flexcoders@yahoogroups.com, "Tracy Spratt" <[EMAIL PROTECTED]> wrote: > > Thanks. But I have just learned, this only works with declarative mxml. > > If you want to crate the special char in Actionscript, you must use the > hex/Unicode character, that has the format \uXXXX. > > Tracy > > -----Original Message----- > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Aaron > Hardy > Sent: Saturday, December 06, 2008 7:43 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] How to display special characters like ° in > ComboBox list > > Go to a page like this one: > > http://www.degraeve.com/reference/specialcharacters.php > > Copy the actual character (not the HTML representation) and paste it > into your code. Bada bing bada boom. > > Aaron > > Tracy Spratt wrote: > > > > The special character numeric references work fine in Label and Text > > and such, but are interpreted literally in a ComboBox's drop list. > > > > Any sugestions? > > > > Tracy > > > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Alternative FAQ location: > https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847 > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups Links >