Re: Mouseup snatched away
If the MC frontscript is removed, and then you do something that replaces it, it will go in front of yours because it is the most recent one inserted. You may have a script that removes MC's frontscript, or some IDE actions may re-insert it (painting does, I think.) No painting involved, or any other drawing type issues. However, many releases ago I had to create a resumeStack handler to address a bug. My frontscript was disappearing when the stack was suspended, or something similar. So on resumeStack I would check the frontscript and if my script wasn't there, reinsert it. if myScript is not in frontScripts() then insert the script of cd fld 1 of cd 1 of stack someStack into front end if Is this with the pointer tool or browse tool? IIRC, MC only acts on mouseUp when the pointer tool is active, and passes it if not. This has caused issues for me when I need to make drawing environments, and I just made a tool to remove and re-insert MC's frontScript as needed. Both. I made sure to select the Browse tool specifically, but either way I get the same result. I'm thinking that Jacqueline's answer explains it. I haven't intentionally removed MC's frontscript, but if mine is being removed and I'm needing to replace it, then presumably so is MC's. A very frustrating thing. My newer project won't touch front and backscripts with a ten foot pole. But the older project is sort of stuck with them. Would take a LOT of doing to delete them. Shari -- Gypsy King games for MAC and WlND0WS http://www.gypsyware.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: Mouseup snatched away
Shari wrote: I've encountered the strangest thing, and I have no idea when it crept in. I have a frontscript that catches mouseUp. But now, while in stack mode (the raw project before being turned into a standalone), Metacard catches the mouseUp before my frontscript as far as I can tell. In checking the frontscripts, Metacard places one in front of mine, and the Metacard Menu Bar catches it as best I can tell. It never gets to my mouseUp. If the MC frontscript is removed, and then you do something that replaces it, it will go in front of yours because it is the most recent one inserted. You may have a script that removes MC's frontscript, or some IDE actions may re-insert it (painting does, I think.) -- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Re: Mouseup snatched away
Shari wrote: I've encountered the strangest thing, and I have no idea when it crept in. I have a frontscript that catches mouseUp. But now, while in stack mode (the raw project before being turned into a standalone), Metacard catches the mouseUp before my frontscript as far as I can tell. In checking the frontscripts, Metacard places one in front of mine, and the Metacard Menu Bar catches it as best I can tell. It never gets to my mouseUp. I left the mouseUp handlers blank and allowed the frontscript to handle them. It would determine the target and act accordingly. on mouseUp end mouseUp Now this used to work fine. This is not a new project, and that particular set of code has worked without catch for quite a while. No troubles before. I don't know when the troubles began as I haven't worked much on this project in the last few months. I did upgrade from Metacard to Revolution, and am using the Metacard IDE. I don't know if this is when it broke. I've had to go thru and try to find every single place of mouseUp and create handlers in each object, where before I didn't have to bother. Basically I just created: on mouseUp someHandler end mouseUp This solved the problem. But it is still perplexing. I downloaded the latest IDE today in hopes of not having to change all the handlers, but nope. Am I losing my marbles or has anyone else ever seen this? I haven't updated to the newest engine, but am assuming it's more of an IDE thing. Is this with the pointer tool or browse tool? IIRC, MC only acts on mouseUp when the pointer tool is active, and passes it if not. This has caused issues for me when I need to make drawing environments, and I just made a tool to remove and re-insert MC's frontScript as needed. -- Richard Gaskin Fourth World Media Corporation ___ [EMAIL PROTECTED] http://www.FourthWorld.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard
Mouseup snatched away
I've encountered the strangest thing, and I have no idea when it crept in. I have a frontscript that catches mouseUp. But now, while in stack mode (the raw project before being turned into a standalone), Metacard catches the mouseUp before my frontscript as far as I can tell. In checking the frontscripts, Metacard places one in front of mine, and the Metacard Menu Bar catches it as best I can tell. It never gets to my mouseUp. I left the mouseUp handlers blank and allowed the frontscript to handle them. It would determine the target and act accordingly. on mouseUp end mouseUp Now this used to work fine. This is not a new project, and that particular set of code has worked without catch for quite a while. No troubles before. I don't know when the troubles began as I haven't worked much on this project in the last few months. I did upgrade from Metacard to Revolution, and am using the Metacard IDE. I don't know if this is when it broke. I've had to go thru and try to find every single place of mouseUp and create handlers in each object, where before I didn't have to bother. Basically I just created: on mouseUp someHandler end mouseUp This solved the problem. But it is still perplexing. I downloaded the latest IDE today in hopes of not having to change all the handlers, but nope. Am I losing my marbles or has anyone else ever seen this? I haven't updated to the newest engine, but am assuming it's more of an IDE thing. Shari -- Gypsy King games for MAC and WlND0WS http://www.gypsyware.com ___ metacard mailing list metacard@lists.runrev.com http://lists.runrev.com/mailman/listinfo/metacard