Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
noahnu
Posts: 138
Registered: ‎01-09-2011
My Device: Blackberry Tablet OS

Scale Image With Mouse

Hello,

 

By overriding the draw() function of the image class I have drawn four circles on each point of an image. I have already wrote the if statements that detect which point is being clicked. How do I make it so when the user drags the top left point the image resizes accordingly?

 

I thought this might have something to do with the scale properties of the Matrix class. How would I go about doing this?

From,
Noah NU
Please use plain text.