Added Info:
The code I use for the snapshot  is:

> —do some stuff
> wait for 0.1 seconds with messages
> export snapshot from rect  snapRect to image  “mapSnap”
> wait for 0.1 seconds with messages
> —do more stuff

If I put a breakpoint at the export line, the snapshot works.
Bill

[email protected]
http://es.earthednet.org

On May 2, 2014, at 6:52 PM, [email protected] wrote:

> My application scrolls and resizes a large map for plotting data. The view 
> rectangle shows only a portion of it. I make a copy of the visible part using 
> snapshot. That way I can put symbols on the viewable part of the large map 
> without having to reload it when it is erased. The command is:
> 
> —do some stuff
> wait for 0 seconds with messages
> export snapshot from rect  snapRect to image  “mapSnap”
> —do more stuff
> 
> In LC 6.6, all works fine. I have to put the wait command prior to the 
> snapshot command.
> wait 0 seconds with messages. 
> 
> When I tried the project in version 6.6.2 (rc3), the snapshot command stopped 
> working. If I put a breakpoint to stop the script at the snapshot command, it 
> works. So what I’m wondering is if I’ve done something wrong, and 6.6.2 has 
> different timing, or what I might do to make this work in 6.6.2. Or, could it 
> be a bug? I set the wait time prior to doing the snapshot to 1 second, and it 
> made no difference.
> 
> Best,
> Bill
> 
> [email protected]
> http://es.earthednet.org
> 
> _______________________________________________
> use-livecode mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode


_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to