Hi Anzer,
   I'd do something like:

- on CLICK on the frontmost image, install a MOUSE_MOVE listener to start
listening to MOUSE_MOVE events
- on MOUSE_MOVE, adjust the x and y of your mask clip (not the image itself)
appropriately.
- on RELEASE on the frontmost image, uninstall the MOUSE_MOVE listener

That's the basics of it, I think.

Hope that points you in the right direction,
   Ian- Hide quoted text -


On 10/24/07, mailtoanzer <[EMAIL PROTECTED]> wrote:

>  Thank you for the reply.
> I tried your solution but I couldnt make the crop area draggable. I am
> trying to do something similar to the crop tool in
> http://www.picnik.com/. <http://www.picnik.com/> My crop area is not
> resizable but the whole
> image can be scaled by dragging the corners.
> I have completed the scaling of image and cropping, the only thing
> remaining is the alpha for image area except croping area.
>
> Please let me know if there is any solution
>

Reply via email to