?
Solved

Flash + XML , accessing by external web page

Posted on 2005-03-16
7
Medium Priority
?
188 Views
Last Modified: 2010-04-03
I am writing a real time weather display in Flash. The flash will read a XML file (the XML file is generate by PHP) and display it. It done and work well in the same server.
Now I want this flash could be use by other website. But when I insert the object into other webpage, it seem can't read the XML file.
Does anyone have the some problem and how to fix it?

PS:The file location of the files:
Server A: contain weather.swf: http://myweb.polyu.edu.hk/~etleo/weather.swf
Server B: the HTML page embedded flash object: http://e3learning.edc.polyu.edu.hk/temp/weather.html
0
Comment
Question by:leohung
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 27

Expert Comment

by:negatyve
ID: 13563055
0
 

Author Comment

by:leohung
ID: 13563334
Thanks negatyve,

I have a question. My case is the swf file and xml are under the same server. But the html is in other server, how come it still can't work???
0
 
LVL 27

Expert Comment

by:negatyve
ID: 13563380
Are you using an absolute path for the xml?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:leohung
ID: 13569134
No, my flash open the xml file with relative path.

0
 
LVL 27

Accepted Solution

by:
negatyve earned 400 total points
ID: 13570604
Ok, then the xml path should be get from the embedding html page point of view. Try to use an absolute path..
0
 

Author Comment

by:leohung
ID: 13577479
Cool !!! My flash work very well now!! Thanks negatyve!!!
0
 
LVL 27

Expert Comment

by:negatyve
ID: 13581542
Cheers! :)
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question