On Jun 16, 2005, at 4:09 PM, Derek Bump wrote:

 on mouseUp
   set the alphaData of img 1 to (the imageData of img 2)
 end mouseUp

Revolution really didn't like this, and crashed every time I clicked the button. :) Does this work for you or anyone else?

This is not a good excuse for crashing, of course.

However, alphaData is one byte per pixel and image data is four bytes per pixel (Dummy and RGB). The shape must match.

Dar

--
**********************************************
    DSC (Dar Scott Consulting & Dar's Lab)
    http://www.swcp.com/dsc/
    Programming and software
**********************************************

_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to