Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / Flash / Data Integration / October 2008



Tip: Looking for answers? Try searching our database.

Symbols like % not showing in text variable

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
DANOFATLANTA@YAHOO.C - 15 Oct 2008 04:15 GMT
Hi

I'm pulling text from an PHP file which is displayed in a dynamic textfield.
The text has the % symbol in it which won't display once it's rendered.

The PHP text looks like "40% Chance of Rain"
The Flash text box displays "40Chance of Rain"

The flash file reads the text, but does not display the % sign.  It has the
same issue with other special characters also.

How do I get it to display the % as part of the text?
TheWabbit - 22 Oct 2008 17:58 GMT
Depending on how you are using the info, you may have to pass % as %25.

Flash has two functions (depending on what is being encoded and when). Look up:

escape() and encodeURI()
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.