Can we make an alert appear upon selecting quit?

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

  1. #1

    Default Can we make an alert appear upon selecting quit?

    Can we make an alert appear upon selecting quit?

    I have a student who wishes to be able to use the quit function applied to a button as usual, except she wants an alert box to pop up that asks, "Are you sure?" If the user chooses OK or its equivalent, the app would quit, but if they choose no, the app would not quit, and the user would be able to continue with the application.

    Can anyone suggest the right code to use here? I've tried a few things, but I haven't been able to get it to work.

    Thanks,
    [email]aflint@hotmail.com[/email]


    aflint webforumsuser@macromedia.com Guest

  2. Similar Questions and Discussions

    1. Slow to quit, force quit sometimes necessary
      Has anyone else experienced general slowness in starting and quitting the application? My users are on Acrobat Pro 7.08, using OS 10.4.6 on Dual...
    2. Have to quit and restart Distiller 6 to make additional PDF's
      I must be missing something because I have tried everything to figure this one out. Never had this problem in previous versions but upgrading to 6 I...
    3. Cannot Force Quit
      Peter, Steve's problem is that his internal HD is full. I don't think removing applications from it is a wise solution for recovering free space. ...
    4. quit
      How can i make my presentation close if i press on a sprite that says quit..... any help... thanks also, i posted about sound, and ive checked...
    5. How to make projector quit if user ejects cd from dirve
      Hi all, Just wondering if there is a way to make the projector quit if the user ejects the cd. At the moment it hangs the machine and a...
  3. #2

    Default Re: Can we make an alert appear upon selecting quit?

    you need to set the exitLoc = true at the beginning of your movie (look in
    lingo help about it)
    use quitMsg xtras to trap alt+F4 (it's free and very easy to use, comes with
    an example)
    and for the dialog box, many solutions : xtras like buddyAPI, MUI, otherwise
    you can do it in pure director, stage and lingo :o)

    --
    ----------------
    -- Ned
    ----------------------------------------
    Bien faire et laisser braire
    ----------------------------------------
    "aflint" <webforumsuser@macromedia.com> a écrit dans le message de
    news:bqhaad$6uv$1@forums.macromedia.com...
    | Can we make an alert appear upon selecting quit?
    |
    | I have a student who wishes to be able to use the quit function applied to
    a button as usual, except she wants an alert box to pop up that asks, "Are
    you sure?" If the user chooses OK or its equivalent, the app would quit,
    but if they choose no, the app would not quit, and the user would be able to
    continue with the application.
    |
    | Can anyone suggest the right code to use here? I've tried a few things,
    but I haven't been able to get it to work.
    |
    | Thanks,
    | [email]aflint@hotmail.com[/email]
    |
    |


    Ned 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