A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Getting at My XML data

  1. #1
    Member
    Join Date
    Sep 2000
    Posts
    67
    Would anyone out there know why I can't get at my XML data once it has been loaded into my Flash movie? I can get to it fine if I load an XML file directly no problem, routine, standard BUT, the same file that is loaded through an ASP call (Flash calls an ASP script that returns XML) is loaded into my movie fine but, I can't get to the data stuff like

    MainTag = new XML();
    MainTag = this.firstChild.nextSibling;

    in my XML handler function, no longer works, but the data can be seen when I debug!?!?

    If anyone has some insight it would be appreciated

    Thanks
    Stefan

  2. #2
    Senior Member tupps's Avatar
    Join Date
    Jan 2001
    Location
    Melbourne
    Posts
    2,035
    Do you have permission to open your XML? Once you have put the swf file on the web server you only have permission to get the XML from the same server (or sub servers) that the original web page that contained the flash file was delivered from.

    The only other thing to check is that you have the flash 5 plugin installed.

    Thanks

    Luke




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center