?
Solved

Flash + XML , accessing by external web page

Posted on 2005-03-16
7
Medium Priority
?
199 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
  • 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
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!

 

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

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.

Question has a verified solution.

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

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
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…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.

578 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