On Sun, Jul 26, 2009 at 1:48 AM, James Hurley<[email protected]> wrote: > >>> > P.S. The stack I tried was "RainbowTest.rev" and if you are interested >>> > you can see it in action by running the line below in the message box. >>> > And >>> > if you have Rev 4.0 you can create your own test by saving it for the >>> > web. >>> go url "http://www.jamesphurley.com/RainbowTest.rev" >>> Not only does the "mouseMove" handler run lethargically, but the image >>> (a flashlight, or up in Scotland, a torch) carrying that script breaks up >>> on the screen, i.e. the image breaks up into two separate parts. Odd. >> >> I tested your stack Jim. It was very interesting as it worked at full >> speed when running in the browser but from the files on my desktop. When I >> uploaded the revlet & it's html file to my web server >> <http://troz.on-rev.com/rainbow/test.html>, it ran as described. >> Interestingly, the "Draw bunches" script runs fine, it seems to be dragging >> the torch around that causes the delay. This may be an optimization thing >> that will be improved as the plugin develops, or it may be that mouseMoves >> need to be handled differently. >> Cheers, Sarah > > Thanks Sarah. Your feed back was very helpful. I confess that when I ran the > stack I posted to you I got the same results you did--and not the same as I > obtained earlier when I ran the full stack from which I extracted the bit I > posted. > > Just to isolate the issue of the graphic display, I tried a very simple > stack: A single image (my barn last winter) with a MouseMove handler. > > go url "http://www.jamesphurley.com/MoveGraphicTest.rev" > > When I drag this image around the screen (running in Safari from the file on > my desktop) I found the motion to be rather bumpy, not nearly as smooth as > when running in desktop RunRev. It is tolerable, but bumpy. As you say, this > may be something that needs tweaking as the plug in evolves. > > I haven't tried uploading it to the my web server. Not sure how to proceed > to the next step. The url in Safari looks like this: > > file:///Rev%20apps%20on%20web/Untitled%201/test.html > > I never have figured out what character the %20 is a substitution for. > Little help? How would I proceed from this Safari rendition to posting it to > my on-rev web site for a test? >
I built your image moving stack and uploaded it to <http://troz.on-rev.com/rainbow/move.html>. It seems to work at full speed, so it isn't the mouseMove itself, but the amount of processing that has to happen on every mouseMove. I tried several options: locking the screen, only drawing the lines if the torch has moved more than a certain number of pixels, limiting the number of redraws per second, flushing events. I even tried replacing the torch image with a button in case redrawing the image was too much. I think I made it a bit better, but it's still not great, but you can try it again at the same address. As regards the odd URL, in the standalone settings, I recommend entering a name for the revlet with no spaces or other odd characters. When you build the revlet, you get 2 files: the revlet file and a test.html file. Rename the test.html file if you want and then upload them both into the same folder of your on-rev site. Then the web address will be: http://yourname.on-rev.com/foldername/test.html (filling in the blanks as appropriate). Cheers, Sarah _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
