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

  1. #1

    Default Re: quit when escape

    Unfortunately, that script

    on startMovie
    set the exitLock = TRUE
    end

    also disables the X on the right of the Windows title bar, thereby confusing users who expect that clicking the X will close the application.

    Is there any way to fix that, i.e. make the X disappear. I tried running without a Windows title bar but introduced another problem: users cannot use the bar to move the Director window around on the their screen [or minimize it].

    Thanks...Stephen



    scobba 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. escape %
      How would I escape the % character. I have text that I need to display that contains the character and Coldfusion/HTML seems to be trying to...
    3. escape <
      How would I escape the < character. I have text that I need to display that contains the character and Coldfusion seems to be trying to interpret...
    4. escape in ASP
      When chucking data in a cookie you cannot use certain characters (in this example ‘ : ‘ ). To get around this you use escape and unescape. Trying...
    5. escape
      <?php echo ("Vladimir\'s brother said, \"Ain\'t that a hoot?\""); ?> why does it return Vladimir\'s brother said, "Ain\'t that a hoot?" ...
  3. #2

    Default Re: quit when escape

    I got the quitMsg xtra from MediaMacros.com, and it works great. The readme
    file has an example where it alerts on quitMsg. So I replaced the alert
    commamd with a buddyAPI message so that the user can change his mind about
    quiting. But it doesn't do anything. Here is the my code:

    on startMovie

    set the exitLock = true

    startQuitMsg()

    end



    on quitMsg

    findIt = baMsgBox("Are you sure you want to quit?", "Quit?", "YesNo",
    "Question", 1)

    if findIt = "Yes" then

    quit

    else

    nothing

    end if

    end



    on stopMovie

    closeQuitMsg()

    end

    Any ideas?

    Thanks,
    Shane

    "JPrice" <jchanprice@netzero.net> wrote in message
    news:bg20ka$km1$1@forums.macromedia.com...
    > Look for the quitMsg xtra. It's Windows only, however.
    >
    > "scobba" <webforumsuser@macromedia.com> wrote in message
    > news:bfugso$et0$1@forums.macromedia.com...
    > > Unfortunately, that script
    > >
    > > on startMovie
    > > set the exitLock = TRUE
    > > end
    > >
    > > also disables the X on the right of the Windows title bar, thereby
    > confusing users who expect that clicking the X will close the application.
    > >
    > > Is there any way to fix that, i.e. make the X disappear. I tried
    running
    > without a Windows title bar but introduced another problem: users cannot
    use
    > the bar to move the Director window around on the their screen [or
    minimize
    > it].
    > >
    > > Thanks...Stephen
    > >
    > >
    >
    >

    Shane Guest

  4. #3

    Default Re: quit when escape

    Hi Shane,

    Instead of :

    If Findit=Yes

    try to use :

    If Findit=1

    cuz most xtras have buttons named by cardinal number.... hope it helps...


    Vj
    vij010 Guest

  5. #4

    Default Re: quit when escape

    I see what you are saying, however, I don't even recieve the message. I
    click on the X on the title bar, and nothing happens. I have to close the
    program from the Windows Task Manager.


    Shane




    "vij010" <stamptube@hotmail.com> wrote in message
    news:bg4icd$4su$1@forums.macromedia.com...
    > Hi Shane,
    >
    > Instead of :
    >
    > If Findit=Yes
    >
    > try to use :
    >
    > If Findit=1
    >
    > cuz most xtras have buttons named by cardinal number.... hope it helps...
    >
    > Vj

    Shane 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