|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member
Join Date: Sep 2008
Posts: 45
|
Hello everyone!
don't know where to post this sorry if i posted this in the wrong place. anyway...i'm cracking my head trying to figure out why is not working??i mean..works perfectly on my localhost but when i put it on the server, it won't read the xml for some reason, i already tried changing the access to network access only. i even tried using absolute path to where to xml is located on the server, but it won't show anything from the xml. i heard something about importing security classes at the top of the code, but what is it??please help |
|
|
|
|
|
#2 |
|
Member
Join Date: May 2008
Posts: 75
|
Almost always if it works on your local machine and not on the server, it's a pathing issue. Did you test the .swf on your local machine with the .swf and the .xml in the same folder? Is the Web page in that same folder or a different folder? As soon as that .swf is placed on a Web page outside the folder it's in, you are in effect removing it from that folder, which also alters the path back to the .xml.
Can you download the .xml file by directly typing the address in the browser (the absolute path)? It may not display properly but it should load at least a portion of that file in the browser. If you get a "File not found", then either the file is missing or it's someplace where it's not supposed to be. I'd check out all possible pathing issues before worrying about security classes. Best wishes, EfV |
|
|
|
|
|
#3 |
|
Member
Join Date: Sep 2008
Posts: 45
|
thanks for replying, well..they are all in the same folder in the server, i just followed your instruction and ran the xml on the internet i got this
"XML Parsing Error: not well-formed Location: http://www.thisSitecom/newsflash/config.xml Line Number 1, Column 39:" <?xml version="1.0" encoding="UTF-8"?>㰀℀䐀伀䌀吀夀倀䔀 琀椀挀欀攀爀 匀夀匀吀䔀䴀 ∀挀漀渀昀椀最⸀搀琀搀∀㸀 |
|
|
|
|
|
#4 |
|
Member
Join Date: May 2008
Posts: 75
|
Can you post the link to the Web page with the .swf?
EfV |
|
|
|
|
|
#5 |
|
Member
Join Date: Sep 2008
Posts: 45
|
i was going to, but then i realized the error, it was all the xml problem,so i copy and pasted into a new textfile (saved it as xml at the end) and I changed the UTF declaration at the top from upper case to lowercase. man...that is sooo weird. but thanks anyway :-)
|
|
|
|
![]() |
|
||||||
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|