To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 11-05-2009, 02:23 PM   #1
kakashi807
Member
 
Join Date: Sep 2008
Posts: 45
resolved [RESOLVED] as2, my swf won't load xml info on server HELP!!

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
kakashi807 is offline   Reply With Quote
Old 11-06-2009, 08:32 PM   #2
Eye for Video
Member
 
Join Date: May 2008
Posts: 77
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
Eye for Video is offline   Reply With Quote
Old 11-06-2009, 09:43 PM   #3
kakashi807
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"?>਀㰀℀䐀伀䌀吀夀倀䔀 琀椀挀欀攀爀 匀夀匀吀䔀䴀 ∀挀漀渀昀椀最⸀搀琀搀∀㸀
kakashi807 is offline   Reply With Quote
Old 11-07-2009, 01:22 AM   #4
Eye for Video
Member
 
Join Date: May 2008
Posts: 77
Can you post the link to the Web page with the .swf?
EfV
Eye for Video is offline   Reply With Quote
Old 11-09-2009, 12:08 PM   #5
kakashi807
Member
 
Join Date: Sep 2008
Posts: 45
Quote:
Originally Posted by Eye for Video View Post
Can you post the link to the Web page with the .swf?
EfV
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 :-)
kakashi807 is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash 8

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:28 AM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.