3 Replies Latest reply on Nov 16, 2006 8:43 AM by arunbe

    Handling loadMovie 'Error opening URL

      I am loading pictures into a movie clip using loadMovie, the jpg path is read from an xml file. If the file does not exist flash generates an 'Error opening URL '. I want to be able to trap this error and produce a message to say the picture does not exist.

      function updateSlide(newSlideNode) { // update photo, description, and status field
      imagePath = newSlideNode.attributes.jpegURL;
      infoBox.photoText = newSlideNode.firstChild.nodeValue;
      hours = imagePath.substring(10,15);
      loadMovie(imagePath, targetPhoto.photoLoader);

      Can anyone help please