Smart Quotes in Dynamic text field

Ask a Question related to Macromedia Flash Actionscript, Design and Development.

  1. #1

    Default Smart Quotes in Dynamic text field

    I'm trying to load text into a dynamic text field with a mouseover event using the following function:

    _root.populateQuoteStr( '\"I grew up at AT&T Wireless.\"' );

    However, I need the quotes around the text to appear as curly or otherwise known as typographer's quotes or smart quotes instead of straight hashes. Any suggestions as to how this works?

    Thanks,
    b


    bwillidesign webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Problems with MS smart quotes -- NOTHING works
      I've searched through these Macromedia forums, and just about everyplace else. I've tried every script out there. I've downloaded the DeMoronizer...
    2. Can't unto smart quotes
      I turn the smart quotes on and off and on and off again and i can't get CS to turn off smart quotes... in 10, it's turned on but when i do an...
    3. load external text to dynamic text field in levels
      Dear Sir I found the Tech Noe Index #16238 is useful in creating dynamically loaded text from external text file. However, the method mentioned...
    4. How to center text in dynamic HTML text field ???
      In Flash MX 2004 I suddenly find myself comletely helpless trying to align all text to the center in my dynamic text field. I dont recall running...
    5. Trying to get smart quotes or "curly" quotes
      I've searched forums and help to no avail. How do I ensure that the quote marks I get displayed are smart quotes, in other words the curly kind...
  3. #2

    Default Re:Smart Quotes in Dynamic text field

    try urlencoding the quotes,

    function populateQuoteStr(txt){
    test.html = true;
    test.htmlText = unescape(txt);
    }
    populateQuoteStr( "%22I grew up at AT&T Wireless.%22" ); // %22 - straight hash

    i keep a URL Encode Chart on my server for easy reference,

    [url]http://www.jackleaman.co.uk/flash/urlencode/urlencode.htm[/url]

    hth


    regards
    Jack..
    Jack. webforumsuser@macromedia.com Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139