Hi Natalia First check that the font that you are using for the textfield actually have the mdash character, use the character map in windows (the mdash is html entity — or symbol - or Unicode \u2014 )
If the character is there, then use c="a — b"; txt.html=true; txt.htmlText=c; or c="a - b"; txt.html=true; txt.htmlText=c; or c="a \u2014 b"; txt.html=true; txt.htmlText=c; hope it helps, let me know if not thanks Andres -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of natalia Vikhtinskaya Sent: Thursday, August 23, 2007 3:08 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] long dash But how that help to show: "1/3 of 9" with horizontal line? 2007/8/23, Hershell Bryant <[EMAIL PROTECTED]>: > Will your design allow you to just create a movieclip with a solid fill > instead of a line? You could give it some small constant dimension in Y to > suit your idea of line thickness, and then you have full control over its > length in X. > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of natalia > Vikhtinskaya > Sent: Thursday, August 23, 2007 11:38 AM > To: flashcoders@chattyfig.figleaf.com > Subject: Re: [Flashcoders] long dash > > Maybe anybody know how to show 1/3, 1/7.. with horizontal line. I > thought that maybe I can use long dash and three text areas.. But it > will not work if I should to show > "1/3 of 9 " but with horizontal line. I seems no solution? > > > 2007/8/23, Alan MacDougall <[EMAIL PROTECTED]>: > > natalia Vikhtinskaya wrote: > > > Hi > > > I thought it simple but that does not work.I am trying to show long dash > > > c="a — b" > > > txt.html=true; > > > txt.htmlText=c; > > > But that does not work. What am I doing wrong? > > > Thanks in advance > > > > > Flash actually only displays a few HTML entities: > > > > < > > > > > " > > & (I think) > > and one other that I forget. > > > > If you want to use any other special characters, use the code > > appropriate to your encoding style. In ASCII, for example, it's symbol > > 151, which you can enter in Windows with alt-0151. In Unicode, I think > > it's \u8212, but don't quote me. > > > > _______________________________________________ > > Flashcoders@chattyfig.figleaf.com > > To change your subscription options or search the archive: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > > > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com