snapshot problem 1

Jim Ault JimAultWins at yahoo.com
Thu Dec 4 12:47:48 EST 2008


Think of it just like
first card, last card, last field, last button

Assuming you do not change the layer order, you newest image will always be
the highest layer number.

If there is an image on the card, then there is a first and last image.
If there is one image on a card, the first and last image is the same.

So you could also use
set the name of the last image  to "Secret Handshake"
set the name of the top image  to "Secret Handshake"
set the name of image (the number of images)  to "Secret Handshake"

or follow this logic
set the layer of the last image to 1  -- becomes first image
set the layer of the first image to top  -- becomes last image
set the layer of the top image to bottom  -- becomes first image

You can see this in the Tools:Application Browser

Hope this helps

Jim Ault


On 12/4/08 8:38 AM, "Thomas McGrath III" <mcgrath3 at mac.com> wrote:

> When you import a snapshot - How do you get the name of the newly
> created image that the snapshot is placed in?
> 
>  From the Docs:
> 
> Comments:
> The import snapshot command creates a new image in the center of the
> current card and places the snapshot in the image.
> 
> 
> 
> Tom McGrath III
> Lazy River Software
> 3mcgrath at comcast.net
> 
> iTunes Library Suite - libITS
> Information and download can be found on this page:
> http://www.lazyriversoftware.com/RevOne.html
> 
> 
> 
> 
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution





More information about the use-livecode mailing list