| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
Registered User
Join Date: Apr 2006
Posts: 15
|
symbols in dynamic TXT
hi ppl, im trying to use the "&" symbol in a dynamically loaded txt file, i tried using the ascii value of it ( &, or & anybody knows how can i solve this problem? thanks. |
|
|
|
|
|
#2 (permalink) |
|
Trailer Trash™
Join Date: Sep 2006
Posts: 853
|
url-encode your ampersands; the default delimiter for loaded data in flash is the ampersand e.g. &mytext=yada yada yada& so your code thinks the data has terminated & = %26 &mytext=yada yada yada & another thing& // bork! &mytext=yada yada yada %26 another thing& // woot! you can use the escape method in flash to do it for you Code:
meh.
|
|
![]() |