A good resource.

http://www.w3schools.com/TAGS/ref_entities.asp

Karl


On Sep 2, 2009, at 12:00 AM, Karl DeSaulniers wrote:

Just a thought. Make your textBox display as HTML and use the urlencoding for those quotes somehow. Eg: &quote;

If your loading the text dynamically, you should be using them anyways. IMO. Urlencodings that is.

Karl

Sent from losPhone

On Sep 1, 2009, at 11:36 PM, "Paul Freedman" <p...@freedmania.com> wrote:

you have to embed them specifically by copying and pasting them into the embed characters field on the TextField in Flash ...

I'm creating my textFields at runtime. Of course, that entails code such as:

this.createTextField("lorem_txt", 20, 0, 20, Stage.width, 0);
lorem_txt.embedFonts = true;

But there's no "embed characters" property. Any thoughts? You think, maybe, I could pull it off using the styleSheet.transform() method? I don't understand what "the mapping of CSS rules to text format properties" means.

Why (he asks rhetorically) is displaying these characters in Flash an Issue at all? Textpad is about as basic a text-display device as there is, and Textpad displays them quite routinely, and has for years.


----- Original Message ----- From: "Steven Sacks" <flash...@stevensacks.net>
To: "Flash Coders List" <flashcoders@chattyfig.figleaf.com>
Sent: Tuesday, September 01, 2009 7:12 PM
Subject: Re: [Flashcoders] Can I display slanted quotes in a textField?


I believe you're talking about "curly quotes" and yes you can include them BUT you have to embed them specifically by copying and pasting them into the embed characters field on the TextField in Flash as they're not included in the basic glyph set.

Also, you have to make sure the font you're using has those curly quotes.





Paul Freedman wrote:
I've never dealt too carefully with the appearance of text. As a developer, that was always the designer's problem. Fortunately, I've always worked with designers who accommodated my - and Flash's - limitations, and let me import .txt files and re- create their formatting as best I could using TextFormat objects.

Now, I'm importing poems from Word .docx files. The poet has used slanted quotes and apostrophes. He's mighty picky about the appearance of his work. I'll point out that I'm already passing the txt through a routine that strips the carriage-returns, leaving only the linefeeds, so that I get proper line distribution. I can substitute normal ascii vertical quotes, etc, but he likes the way it looks as he did it. Short of making jpgs of his pages (and there are 1000 of them), can I display them as he wishes? Any help will be gratefully appreciated.

Thanks,
Paul Freedman
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Karl DeSaulniers
Design Drumm
http://designdrumm.com

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to