Script Error -> Continue ?

Ask a Question related to Macromedia Director Lingo, Design and Development.

  1. #1

    Default Script Error -> Continue ?

    Hi,


    my movie works great, when i run it directly in director.
    when i creat a projector and run it, sometimes, a script error appears and asks me, if the movie should continue.
    If i click "yes", the movie works well as if the error had never been appeared.

    The problem is, that i can' t find the reason for the error.
    So here' s my question:
    Is it possible to supress the error-message, so that if the error message "Script error. Continue?" would appears, director chooses always automatically the answer "yes"?

    Every suggestion appreciated

    Thanx

    Daniel


    Basement_media webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Not launching -- unable to continue because of hardware or system error
      What would cause Photoshop 6.0.1 to give me an error message, right after the loading fonts initializing screen, that says "Unable to continue...
    2. how to let CD continue spining
      Hi My project is going to be distributed on a CD Rom. Is there a way of letting the CD rom continue to spin for a while there is no user...
    3. Script Error. Continue?
      Greetings, I have created a search engine in my Director program. When I test it on my computer in "author mode", everything works fine. Once I...
    4. "Unable to continue because of a hardware or system error"
      I suddenly started receiving this message when opening Elements 2. The message continues - "Sorry, but this error is unrecoverable." I've uninstalled...
    5. Java Script error (error 3) when trying to access Commands
      Hello folks: I have been a long time lurker/reader of this forum. As of yesterday, out of nowhere, when accessing 'Commands' from the top level...
  3. #2

    Default Re: Script Error -> Continue ?

    Script error sometimes means that you've forgotten to include an xtra. I
    think it's better to fix the error, than to suppress the error message.


    JPrice Guest

  4. #3

    Default Re: Script Error -> Continue ?

    In article <bhvhc5$mfc$1@forums.macromedia.com>, "Basement_media"
    [email]webforumsuser@macromedia.com[/email] wrote:
    > The problem is, that i can' t find the reason for the error.
    > So here' s my question:
    > Is it possible to supress the error-message, so that if the error
    message "Script error. Continue?" would appears, director chooses always
    automatically the answer "yes"?
    >
    If you don't fix it, more will happen later. But, to answer your question,
    check out "alertHook" in the Lingo dictionary. That is a handler that you
    can enable to catch your errors at runtime instead of displaying the
    dialog.

    Gretchen Macdowall
    [url]http://www.updatestage.com/[/url]
    Gretchen Macdowall Guest

  5. #4

    Default Re: Script Error -> Continue ?

    Hi Daniel,

    I don't know if you can supress the error-message. But my advice is - even if it is possible - not to do that. If a script error occurs, there is something wrong, even if your movie seems to play correctly.
    Best thing to do is do error checking in your code as much as possible and if an error occurs logging that error in a text file.

    Hope you'll figure it out,

    Rezzy


    Reznor webforumsuser@macromedia.com Guest

  6. #5

    Default Re: Script Error -> Continue ?

    There is a way to make a .ini file that has the same name as the projector
    that you can turn on long error messages AND make the message window
    available.

    I can't remember the syntax but I believe it is on the Macromedia site.

    "Basement_media" <webforumsuser@macromedia.com> wrote in message
    news:bhvhc5$mfc$1@forums.macromedia.com...
    > Hi,
    >
    >
    > my movie works great, when i run it directly in director.
    > when i creat a projector and run it, sometimes, a script error appears and
    asks me, if the movie should continue.
    > If i click "yes", the movie works well as if the error had never been
    appeared.
    >
    > The problem is, that i can' t find the reason for the error.
    > So here' s my question:
    > Is it possible to supress the error-message, so that if the error message
    "Script error. Continue?" would appears, director chooses always
    automatically the answer "yes"?
    >
    > Every suggestion appreciated
    >
    > Thanx
    >
    > Daniel
    >
    >

    Christian Jensen Guest

  7. #6

    Default Re: Script Error -> Continue ?

    Hi there,

    I found you're question in the forum.
    I have exact the same problem.
    (The player error, continue)
    Did you ever found the problem?
    The answers given on your question back then do not work for me...

    Greetz


    mmhvp webforumsuser@macromedia.com Guest

  8. #7

    Default Re: Script Error -> Continue ?

    Yep,


    do the following lingo in a skript with the type "movie":

    on prepareMovie

    the alertHook = script "Alert"

    end

    The conseqence of this sript is, that ALL alert-boxes are supressed which means that you can' t use alert boxes in your movie anymore.

    I hope i could help you.

    Greetings

    Daniel


    Basement_media webforumsuser@macromedia.com 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