Ask a Question related to Macromedia Flash Actionscript, Design and Development.
-
bwillidesign webforumsuser@macromedia.com #1
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
-
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... -
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... -
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... -
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... -
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... -
Jack. webforumsuser@macromedia.com #2
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



Reply With Quote

