Using special characters in flash
February 17th, 2008
1 comment
Use encoding to ensure that variables are passed correctly.The example below illustrates how special characters can be retained using URL encoding:
A text file containing the following variable value:
Cost=+85
Will read into Flash as ‘Cost= 85′, dropping the + character.
However, using URL encoding to replace the + character the original text:
Cost=%2b85
Will result in Flash displaying ‘Cost= +85′ correctly.
Use this URL Encoding table for special characters:
|
|
|
|
Additional information
The TAB character (URL encoded with %09) is not supported in Flash or HTML. In Flash and HTML, the TAB key is reserved for switching focus between form fields.
