|
-
Can someone please point me in the direction where I can find information about what characters are supported in an external .txt file that I can use to import variables to my .swf files?
How can I include characters like +, & and / ????
Is there a chart or equivilent on the web somewhere?
-
Don't Lick Jesus on a Stick
all of them are supported aside &, but there is an easy way to adjust for this, or any character for that matter.
If you have something writing to the text file, have it change the symbol to something like §38 (the § is character 21, and yes flash supports it.) 38 is its ascii character code, it just seemed a fitting number.
okay, have it change it, then, after flash reads the text file, have it do some post processing to change §38 to & ... Get it?
Hope that helps.
-
I'm close, but still a little confused
I understand, but could you help me to understand how to exchange chartacters in Flash. How do I do a Find and Replace??
ie: post processing
-
Don't Lick Jesus on a Stick
Set Variable("count" = 0)
Loop While (count < Length(string))
Set Variable ("count" = count + 1)
teststring = Substring(string,count,3)
if ("teststring" eq "§38")
Set Variable("string" = Substring(string,1,count-1)&"&"&Substring(string,count+4,Length(string)-count+4)
End if
End Loop
Hope that helps
-
Checkout this techonte on the macromedia site for help with url encoding which is what you need to use in your textfiel:
http://www.macromedia.com/support/fl...l_encoding.htm
Hope that helps!!
Regadrs Flashguru
-
Thanks Whiteshadowx and Flash Guru!
I appreciate it!!
- 8r14n
[Edited by 8r14n on 09-06-2000 at 05:25 PM]
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
|