473,395 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

External XML into Flash (AS2)

AutumnsDecay
170 100+
Hey.

New problem. Ugh...

As it turns out Flash will not load an XML file located elsewhere (some other websites, network, etc..). It will only load local XML. This causes a problem for me.

My code requires external XML as it is generated by a weather service.

Is there a way (using AS2) to allow for loading of external XML instead of having it hosted locally?
Apr 4 '09 #1
2 4535
gopan
41
I think you havn't enabled that domain where the xml comes from, in the script..

System.security.allowDomain("www.thedomain.com");

for more clarification see Adobe Flash LiveDoc :
http://livedocs.adobe.com/flash/9.0/main/00002104.html
Apr 23 '09 #2
onyris
42
There is another option under File > Publish Settings >Local playback security > and set that to access network files only .

Not sure if is your case , but it might help u.
Aug 13 '09 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Chris | last post by:
Hi, Where can I find info on using AS2 connection in .net? I need to upload/download EDI files form a trading partner. We already have a program that creates the EDI files. All I have to do now is...
1
by: pseudomagazine | last post by:
Little problem: Using the document.write() function and an enormous string, I have managed to create self-generated pages with functions calling code located in external scripts. The code that...
5
by: althafexcel | last post by:
hi everyone Im trying to include an external js in my aspx page under the head tag, it doesn't load or it displays an object expected error whenver the function from the .js is called. Actually...
1
by: ramvenkat | last post by:
hi is it possible to save a external file through flash application in a particular folder specified in the flash application? means 1)would like to specify a folder while saving a particular...
7
karlectomy
by: karlectomy | last post by:
My button won't leave the stage. I'm programming in AS2.0 using Flash MX2004 I attach the button "again" to the stage and its release function is gameOn where I remove the movie clip. For...
7
by: ridgedale | last post by:
Hi, I'm new to Flash am trying to link to an external site, which consists of a single flash file, and load a specific frame. The actionscript code I have attached to the button so far is as follows:...
0
by: whochrisporter | last post by:
Hi, thanks for reading and helping me first of all. Now to the question.. I need to load external images into a scrolling slideshow (its like a sliding rotating banner) flash file using an...
2
by: gigaturn | last post by:
Hi, Can anybody tell me what is new in Flash CS3? I was working on Flash from last 5-6 years, and I am stuck with Flash new version. I don't know, why a lot of my code is not working on AS3,...
1
by: jawwad90020021 | last post by:
import flash.external.ExternalInterface; after compile this error occurs **Error** Symbol=Menu_Buttons, layer=Layer 12, frame=1:Line 1: Syntax error. import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.