-
Senior Member
Hi,
I have Flash MX and when I upload a xml file containing "", these are always converted to "e; which I don't want. How can I get "" marks uploaded instead of "e;?
-
Moonlight shadow
Do you mean the file name, something in the Flash MX file or in the XML file?
TE
-
Senior Member
I have "pic.jpg" in the xml file. When I load the xml file and trace it, it becomes "e;pic.jpg"e;.
-
Moonlight shadow
Are you uploading in binary?
TE
-
Senior Member
What do you mean? All I am doing is loading an XML file in flash and getting to the line "pic.jpg". I don't know how it is loaded.
-
Moonlight shadow
Depending on what you do to upload it, what happens to it can vary. What FTP client do you use?
TE
-
Senior Member
I am currently doing everything on my hardrive.
By the way thanks for the discussion I appreciate.
-
Senior Member
OK,
the "e; is what happens when you have "html escaped" data. You will find you < and > in your data get changed as well.
It depends where you are seeing the problem. If it is on the server side of things (CGI, ASP, PHP etc) you will have to check the documentation for an HTML escape routine. If it is in flash use: espace(myString) and unEscape(myString)
Here is an example from MacroMedias ActionScript dictionary:
http://www.macromedia.com/support/fl...79.html#222434
And unescape:
http://www.macromedia.com/support/fl...49.html#240889
Thanks
Luke
-
Senior Member
Great. Thanks I will try that out.
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
|