Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 535361
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T09:42:30+00:00 2026-05-13T09:42:30+00:00

I created a swf that I have on my website. The swf loads xml

  • 0

I created a swf that I have on my website. The swf loads xml data. it works fine when I test it locally. But when I upload it to the server, I get a IOErrorEvent(). Why is this occurring?

Here is the code for the XML file:

<?xml version="1.0" encode="UTF-8"?>
<menu>

<col>///~~~~~~~~~~~~~~~~~~~~~~~
<tile>
///The "thumb" tag should indicate the corresponding image. It is an image.
///The "pic" tag indicates a partial web address. It is text
///The "cap" tag is used as an identifier caption. It is text.
<thumb>acquainted.jpg</thumb>
<pic>www.mysite.com</pic>
<cap>acquainted</cap>
</tile>
</col>///~~~~~~~~~~~~~~~~~~~~~~~

Here is the code that loads my xml data:

function xml1Loaded(e:Event):void { 
    menu1XML=new XML(xmlLoader1.data);
    xmlLoader1.removeEventListener(Event.COMPLETE, xml1Loaded); 
    xmlLoader1.removeEventListener(IOErrorEvent.IO_ERROR, error1Occurred);
}

function error1Occurred(e:Event):void { 
    infoBox.text="There was an error loading an xml file. Perhaps the server is busy. Try refreshing the page.";
    xmlLoader1.removeEventListener(Event.COMPLETE, xml1Loaded); 
    xmlLoader1.removeEventListener(IOErrorEvent.IO_ERROR, error1Occurred);
    }

How can I figure out what is causing this error? Driving me crazy…been up from 9am – 5am trying to create this header for the site and now I’m stuck on an XML load error…

EDIT:
Correcting the comment tags fixed my xml loading problem.
I then was faced with the images within the xml file not displaying on the screen. When I went to http://www.mysite/media/myFlash.swf, the images loaded perfectly; however, when i went to http://www.mysite.com where the ‘myflash.swf’ was in a the images threw another error.
I corrected this issue by changing the file path in the xml…instead of acquainted.jpg I changed it to media/specials/acquainted.jpg.

Thank you guys for redirecting me and helping with these issues!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T09:42:31+00:00Added an answer on May 13, 2026 at 9:42 am

    spender’s answer is probably the case but I though I would expand on spender’s comment.

    Your /// in your XML will probably give you an error while parsing the XML when you do get it. XML comments are like <!-- comment here -->.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a flex application that loads an external swf file. I created the
I have created a SWF file using Flash that loads an FLV file on
I created a function which loads data into a JTable . Everything's working fine
I have created a flash player that loads external swfs and control them through
I have a swf file that my graphics designer has created for me that
i'm building a website using flash. i have a external swf file that i
I have a an swf, called 'controls' that I created with flash cs4. I
In the past I have created a php file that generates the XML and
I have an application that loads external SWF files and plays them inside a
I have created a simple SWF-loader in ActionScript 3.0. It loads an SWF from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.