dcsimg
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: xml from web?

  1. #1
    Junior Member
    Join Date
    Mar 2001
    Posts
    9
    I have ben using XML with flash for a while but the xml files were always local I never pulled them from the web and now I need to my code always went like:

    // Create a new XML object and load the XML file
    newsXML = new XML();
    newsXML.onLoad = myLoad;
    newsXML.load("er.xml");
    question 1 how do I use a url
    question 2 how do I get past the damn dtd


    please help

    jhumphrey@techproinc.com

  2. #2
    Senior Member
    Join Date
    Feb 2001
    Location
    Provo, Utah
    Posts
    1,112

    Uhh...

    You can use a URL the same as any other:

    nameOFXMLObj.load("http://www.yourURL.com");

    ... and I'm not sure what your problem is with the DTD... You want Flash to create a DTD - right?? Humm... interesting...

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