Yes, the destination member did return an error in the paint editor, but
when I allowed it to continue (making it editable in the paint window), the
results were still the same. I did the same thing with the source image,
with no results.
>Date: Fri, 3 Aug 2001 21:34:35 -0400
>From: Colin Holgate <[EMAIL PROTECTED]>
>Subject: Re: <lingo-l> Imaging Lingo 2
>
>There are some things about your code that make it seem odd. For
>example, using the same variable to represent the member one moment,
>and then the member's image another makes it harder to follow. For
>now I'm assuming that it ought to work, so something that could upset
>our plans is that the JPEG destination member may not be available
>for changing. Open that member in the paint window and try to erase
>part of it. Do you get an error message?
~~~~~~~
Property psourceImage, pdestImage, psourceChannel
on getPropertyDescriptionList
description =[:]
< snip >
addprop description, #psourceImage,[#comment"Source Image",#format#bitmap,
#default#VOID]
addprop description, #psourceChannel,[#comment"Source Channel"
,#format#integer, #default0]
addprop description, #pdestImage,[#comment"Destination Image"
,#format#bitmap, #default#VOID]
return description
end
on exitFrame me
< snip>
set mnum1 = (member(pdestImage).membernum)
set mnum2 = (member(psourceImage).membernum)
set mnum1 = member(mnum1).image
set mnum2 = member(mnum2).image
r1 = sprite(psourceChannel).rect
r2 = sprite(the currentSpriteNum).rect
mnum1.copyPixels(mnum2,r2, r1)
end
~~~~~~~~~~~~
W. Locke Morgan
New Orleans, LA - USA
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]