Hello :). I have simple file 550 x 450, in it there is one container 400x300, x:75, y:78. In the container I am loading images and there is drag and drop function for them. I also have added mask with size that matches the size of the container because when i load larger images i could move them. Everything is working fine, but If I set scaleX and scaleY to the container image, the drag and drop functionality is not working fine - I can’t reach the edges of the picture.
with ( m_mask.graphics )
{
beginFill( 0x000000 );
drawRect( 75, 78, 400, 300);
}
captureContainer.mask = m_mask;
//...
//the scale
captureContainer.scaleX = captureContainer.scaleY += scaleValue/10;
It behaves like there is not enough space to move the image right, left, top or down. What might be the problem? Thank you in advance.