2 Replies Latest reply on May 31, 2011 9:52 AM by Shari5599

    newObject("XML") getting "Handler not defined #newObject" on runtime


      I'm using Director 11.5.  This code works fine in the debugging/development mode, but as soon as I put it into a projector, I get an error.  The code reads:


            gXML = newObject("XML")



      Using the _player.debugPlaybackEnabled = TRUE, I can see that the first line is where the script gives the error.  I have the XMLParser.x32 included in my projector.  The projector is running on Windows 7. 


      So everything runs fine and all code executes when running in development mode.  As soon as I create a projector and run it, I receive the error:


      "Handler not defined


      Script Error: Continue?"


      Any advice on how to get this corrected?


      Thanks in advance!