create a new image from the pixels of another

Klaus Major klaus at major-k.de
Tue Jan 17 07:34:39 EST 2006


Hi Jason,

> Hi, Thank you for that,
> One last thing, how do you create the empty image "the new one"  
> through code
> when it is needed?
>
> Thank you
>
> Sorry I want to create a new image on a substack from code in the  
> mainstack.

no problem, pretty easy :-)

...
create img "the new one"
...

If you want to create a control in another stack do this:

...
set the defaultstack to "name of other or substack here"
create img "the new one"
...

Hope that helps.

> Hi, Thank you for that,
> One last thing, how do you create the empty image "the new one"  
> through code
> when it is needed?
>
> Thank you

Best

Klaus Major
klaus at major-k.de
http://www.major-k.de




More information about the use-livecode mailing list