Groups | Blog | Home
all groups > flash actionscript > may 2005 >

flash actionscript : Flash not displaying % character



David Powers
5/5/2005 12:00:00 AM
[quoted text, click to view]

Text needs to be URL encoded. If you're using PHP, pass it to
urlencode() before sending. Otherwise, use %25 to represent the
percentage sign.

75%25 is 75%.

--
David Powers
Author, "Foundation PHP 5 for Flash" (friends of ED)
Co-author "PHP Web Development with DW MX 2004" (Apress)
kglad
5/5/2005 12:00:00 AM
url encode your % sign using %25:

Timothy Robertson
5/5/2005 8:05:35 PM
I have a .fla that gets text from a PHP file (which pulls it from a MySQL
record). I have the PHP utf8_encode the text first to make sure my French
characters come through, but for some reason the percent sign '%' never
comes through. If I have a line of text like:
"I only got 75% on my last test."
Flash is only displaying:
"I only got 75 on my last test."

I've viewed the output of the PHP file in a web-browser and it appears fine
there, I'm stumped, any suggestions?

Thanks
Tim
Timothy Robertson
5/5/2005 10:20:47 PM
Thanks for the reply... I will go with the %25 , I find that the urlencode
generates too many discrepancies between European French and CDN French
displays, I don't know why though..

I'll go for the utf8_encode and use the %25.. Thanks again


On 5/5/05 10:14 PM, in article d5ejut$eeb$4@forums.macromedia.com, "David
[quoted text, click to view]
AddThis Social Bookmark Button