External XML into Flash (AS2)

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AutumnsDecay
    New Member
    • Mar 2008
    • 170

    External XML into Flash (AS2)

    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?
  • gopan
    New Member
    • Apr 2009
    • 41

    #2
    I think you havn't enabled that domain where the xml comes from, in the script..

    System.security .allowDomain("w ww.thedomain.co m");

    for more clarification see Adobe Flash LiveDoc :

    Comment

    • onyris
      New Member
      • Aug 2008
      • 42

      #3
      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.

      Comment

      Working...