Re: mousemove crash
If you are just using mouseMove as a handler that you want to be sent a lot of times, I would suggest this. Also, if you are drawing a line, it might be more stable just to use this script anyway, and just ignoring any mouseLocs that are the same as the previous recorded mouseLoc. on openStack global backgroundMessageCount add 1 to backgroundMessageCount backgroundMessages end openstack on backgroundMessages global backgroundMessageCount add 1 to backgroundMessageCount if backgroundMessageCount mod 50 is 0 then -- Do whatever you need to here end if if backgroundMessageCount mod 1000 is 0 then -- Do whatever else you need to here end if if backgroundMessages is not in the pendingMessages then send pendingMessages to me in 1 millisecond end backgroundMessages This is just a sample script. The point of the backgroundMessageCount is that you can have multiple scripts running at different rates. For the example of substituting for a mouseMove script, I would use this: on backgroundMessages global backgroundMessageCount,theMouseLoc add 1 to backgroundMessageCount if the mouseLoc is not theMouseLoc then put the mouseLoc into theMouseLoc -- Do whatever you need to here end if if backgroundMessages is not in the pendingMessages then send pendingMessages to me in 1 millisecond end backgroundMessages I hope it helps! Brad CMSEC ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
mousemove crash
I've been using Rev 2.03, and was looking forward to finally upgrading to the latest version, as I like the crispness and speediness of the latest engine, however, upon downloading the trial, my very first effort at a simple stack kept crashing. My second effort, entirely unrelated to the first, also kept crashing. At first I thought it might be a difference between Media Studio, with media being more crash-prone, but no, they crash equally. Then, I thought it was my computer, but no, it crashes the same on a Powerbook G4, as well as on a PowerMac G4 (both running os 10.4.8). I now see that both of those crashing initial projects involved a mouseMove handler. A simple mouseMove is OK, but if you try to do this and anything else, eg. load a webpage into a field or draw a line, it crashes and crashes crashes every time. What's up? Did they go and break rev? Should I wait to see if it gets worse or better before plopping down my cash? I NEED mouseMove! (I think ;-) ) Thanks, mark in Mie, japan ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
Re: mousemove crash
Hi Mark, I really can't imagine that one would use mousemove to load a web page. The user would move the cursor around and cause a queue of messages repeatedly trying to download that web page. I can very well imagine how that would cause a crash. Please, try a different approach, downloading only one (or a few) web page(s) at a time. For other things, the mousemove message is very feasible, for example for setting the armed of a button, changing the icon of an object, hiliting lines in a field etc. How are you using mouseMove to draw a line? If you post a script, we might be able to see why it crashes. Best regards, Mark -- Economy-x-Talk Consultancy and Software Engineering http://economy-x-talk.com http://www.salery.biz Salery is the easiest way to set up your own web store: http:// www.salery.biz/salery.html Op 10-jan-2007, om 0:01 heeft mark het volgende geschreven: I've been using Rev 2.03, and was looking forward to finally upgrading to the latest version, as I like the crispness and speediness of the latest engine, however, upon downloading the trial, my very first effort at a simple stack kept crashing. My second effort, entirely unrelated to the first, also kept crashing. At first I thought it might be a difference between Media Studio, with media being more crash-prone, but no, they crash equally. Then, I thought it was my computer, but no, it crashes the same on a Powerbook G4, as well as on a PowerMac G4 (both running os 10.4.8). I now see that both of those crashing initial projects involved a mouseMove handler. A simple mouseMove is OK, but if you try to do this and anything else, eg. load a webpage into a field or draw a line, it crashes and crashes crashes every time. What's up? Did they go and break rev? Should I wait to see if it gets worse or better before plopping down my cash? I NEED mouseMove! (I think ;-) ) Thanks, ___ use-revolution mailing list use-revolution@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution