IIRC, you can get a box if the font doesn't have that character in it.

On 8/15/16, 11:09 AM, "Matthew Weir" <[email protected]> wrote:

>Any ideas as to why some characters turn into a
>box?String.fromCharCode('8680');
>
>from: Arrows HTML Code - Character Codes
>  
>|  
>|   |  
>Arrows HTML Code - Character Codes
> Find the html character codes you need fast. A comprehensive and easy
>reference of ascii and unicode characters ...  |  |
>
>  |
>
> 
>
> 
>
>    On Monday, August 15, 2016 2:05 PM, Matthew Weir
><[email protected]> wrote:
> 
>
> Thanks Clint!
>Yes, String.fromCharCode('8598'); is working great.
>
>    On Monday, August 15, 2016 2:02 PM, Clint M <[email protected]> wrote:
> 
>
> Does String.fromCharCode work?
>http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/String.
>html#fromCharCode()
>
>On Mon, Aug 15, 2016 at 10:53 AM, Matthew Weir <
>[email protected]> wrote:
>
>> Hi,
>> I'm just wondering if any of you have some insight into how the mx:Label
>> interprets ASCII.  Any thoughts on how to change the text of the ASCII
>> post-creation?
>> This works just:
>> <mx:Label id="TotalLbl" text="↖"/>
>>
>> However, if I do any of these, it doesn't
>> var charctr:String = '↖'TotalLbl.text = charctr;
>> [Bindable] private var charctr:String = '↖'
>> <mx:Label id="TotalLbl" text="{charctr}"/>
>>
>> same if I have:
>> charctr:String = '&amp;#8598;'charctr:String = "↖"
>> charctr:String = "&amp;#8598;"
>>
>>
>> Thanks,
>> Matthew
>
>
>  
>
>   

Reply via email to