moving images between stacks

Chipp Walters chipp at chipp.com
Fri Jul 25 19:43:03 EDT 2003


Edwin,

I can successfully:

set the imagedata of img 1 of stack "Untitled 2" to the imagedata of img 1 of stack "Untitled 1"

I've tested it on RR 1.5 and 2.0

-Chipp

> -----Original Message-----
> From: use-revolution-admin at lists.runrev.com
> [mailto:use-revolution-admin at lists.runrev.com]On Behalf Of Edwin Gore
> Sent: Friday, July 25, 2003 8:38 PM
> To: use-revolution at lists.runrev.com
> Subject: RE: RE: moving images between stacks
> 
> 
> Chipp,
> 
> Both of the images are the same width and height.
> 
> The transcript I am using is:
> 
> set the imagedata of image "default" to the imagedata of image 
> "default" of card 1 of stack fromFile
> 
> fromFile is the name of the old stack, and the new stack is set 
> as the defaultstack, and I am on the card where the images are. 
> What I now get is a black image in the new stack. The behavior I 
> was getting earlier was because I had a typo in the second 
> imagedata (it read imagesata)
> 
> 
> >----- ------- Original Message ------- -----
> >From: "Chipp Walters"
> >To: <use-revolution at lists.runrev.com>
> >Sent: Fri, 25 Jul 2003 17:15:29
> >
> >Edwin,
> >
> >make sure both images are the same width and
> >height, then:
> >
> >set the imagedata of img "new" to the imagedata of
> >img "old"
> >
> >--Chipp
> >
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
> 





More information about the use-livecode mailing list