-
LoadVars and '%'
Hi,
I'm using loadvars using txt file with this line:
&varName=varValue text... text...&
Where varValue is % - and that causes the rest of the text not to appear.
What's the way to put a- % in the txt so it won't cause the trouble?
Thanks in advance,
Maya Malimovka.
-
Senior Member
You can url encode it....
%25
Also have .......
System.useCodePage=true;
....on the first frame.
-
Thanks for the answer.
The file i'm working on is not a file that i've created and it is complexed files - so i'm trying to do the minimum in such a way that it wouldn't affect other "things" in the files that i'm not femiliar with...yet.
What u wrote is to write %25 in stead of % in the txt file?
If not - is there a way to write '%' via loadVars by touching just the txt file?
Thanks again,
Maya.
-
Senior Member
Flash 5 used to understand %25 straight away. MX seems to want the code page reference.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|