Clone image trouble?

Jim Sims sims at ezpzapps.com
Fri Jan 2 10:56:39 EST 2009


On Jan 2, 2009, at 4:43 PM, William de Smet wrote:

> Hi there all,
> For my son I am starting to create an app in which he use 'stamps'  
> to create
> his own drawing.
> So far I have some small icons (graphics) and a dummy graphic.
> I started with the following code:

<snip>

> delete image "dummy" (I put this in the dummy image as well)
>
> ---
>
> but then the original dummy graphic is deleted and not the cloned one
> probably because the cloned one is the active image?
>
> What am I missing?
>
> I want the dummy image to stay as dummy/template image.


 From the docs:
If the object is a control, its copy is placed on the current card, 32  
pixels below and to the right of the original object. The copy's name  
and other properties are the same as those of the original.


Maybe use:

on newImage
--  assign name for new image here
end newImage

That help?

sims

sims at ezpzapps.com
Skype:   sims.jim
iChat:   techietours
______________________
Opportunity by Design







More information about the use-livecode mailing list