A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Flash /PHP - will read .xml file but not the .php

  1. #1
    Junior Member
    Join Date
    Aug 2002
    Posts
    2
    this works:

    menuXML = newXML();
    menuXML.load ("menu.xml");
    menuXML.onLoad = buildMenu;
    stop();
    ---------
    menu.xml is the informatin I cut and pasted out of a getMenus.php file that generates XML
    my flash menu loads perfect BUT when I use my php file that produces the xml output:

    --------
    this doesn't:

    menuXML = newXML();
    menuXML.load ("getMenus.php");
    menuXML.onLoad = buildMenu;
    stop();
    ---------
    the menu will not load...
    getMenus.php querys a table and puts the results in XML format.. when I view source of getMenus.php all of my information is there. When i copy that informatin into a file and call it menu.xml it works just fine.. so can anyone tell me why flash will not recognize (or load) the xml produced by the getMenus.php page?

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

    Uhm...

    Ask for the PHP page with a direct URL in IE5.

    If you see the full-formed, well formatted XML you intend to see, then it's probably a security issue... but we'll see...

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