A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: problem with onLoad and ie

  1. #1
    Junior Member
    Join Date
    Aug 2000
    Posts
    4
    Hello together,

    I have a very strange problem. I try to load an xml File and call a function if it is loaded (with the .onLoad property).

    Here is the code I have on the first frame:

    _root.debug = "loading ...";
    xmlSite = new XML();
    xmlSite.onLoad = createSite;
    xmlSite.load("site.xml");

    function createSite()
    {
    _root.debug = "Loaded Ok !!!";
    _root.debug += "\n" + this;
    }

    When I put all the files on the server and want to access the html file with ie (tried it with ie 5.5 and 6.0), the createSite function is never called..

    When I try that with Netscape 6.1 everything works as desired !!

    What am I doing wrong ?

    I tested it on another computer with ie.. and it worked ..

    You can find the files on: http://www.chrouser.ch/testXML/

    Thanks for all help !

    Iwan

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

    Uhh...

    Have you tried viewing the XML document in IE?

  3. #3
    Junior Member
    Join Date
    Aug 2000
    Posts
    4

    Re: Uhh...

    Originally posted by VAYKENT
    Have you tried viewing the XML document in IE?
    Yes I tried, and I can see it.. http://www.chrouser.ch/testXML/site.xml

    Iwan

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