Help: Catching a "Error opening URL" error fromXML.sendAndLoad

Ask a Question related to Macromedia Flash Data Integration, Design and Development.

  1. #1

    Default Help: Catching a "Error opening URL" error fromXML.sendAndLoad

    If you pass an invalid url the output window prints an "Error Opening URL
    Error" error.
    How can I catch/identify this error and handle it?
    When this error happens the XML object does not call my XML.onLoad(false) so I
    figure I have to look somewhere before that in the call sequence.

    Any help greatly appreciatted,

    Christian

    ChrisRauh Guest

  2. Similar Questions and Discussions

    1. "The filename or extension is too long" Error when opening Acrobat 6.0
      I get the same error. It just hangs at the splash screen, taking 100% CPU and then after about an hour I get that error. When I click ok, I get a...
    2. Help! Can not save anything in Illustrator format - Error message "unknown error has occured"
      I am using Illustrator CS on XP, I was trying to save my work, it was a template and about 10 layers. I got the error message "unknown error has...
    3. Error "creating file: 1008:5, -5000 Access Denied Error"
      I'm unable to install Flash Player 9 in OS X (10.4.8). I followed the following tech note: http://www.adobe.com/go/4aa64290 * I uninstalled Flash...
    4. "There was an error opening this document. This file cannot be found."
      Myself and a co-worker get this error when attempting to open an Adobe PDF directly from the SQL Reporting Services package EXPORT feature. If we...
    5. #12029 [Com]: "--with-apxs" can cause the error "MySQL: Unable to save result set in"
      ID: 12029 Comment by: sietzepost at streetwisedd dot nl Reported By: root at byone dot com Status: Bogus Bug...
  3. #2

    Default Re: Catching a "Error opening URL" error from XML.sendAndLoad

    use onData instead of onLoad:

    x=new XML();
    x.load("my.xml");
    x.onData=function(s){
    if(s==undefined){
    trace("error loading xml file");
    } else{
    trace(s);
    }
    }


    "ChrisRauh" <webforumsuser@macromedia.com> schrieb im Newsbeitrag
    news:dcgdem$k18$1@forums.macromedia.com...
    > If you pass an invalid url the output window prints an "Error Opening URL
    > Error" error.
    > How can I catch/identify this error and handle it?
    > When this error happens the XML object does not call my XML.onLoad(false)
    so I
    > figure I have to look somewhere before that in the call sequence.
    >
    > Any help greatly appreciatted,
    >
    > Christian
    >

    perry Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139