Hi,
Does anyone know how to constrain a movie clip that keeps on changing size?
I’m using a startDrag function on my MC and I’ve tried creating four variables to fill its left, top, right and bottom arguments, which just subtract my movie clip’s width or height from the width or height of the rectangle I’d like to constrain it to. But it doesn’t work at all. When it changes size, it doesn’t even touch the edges - it leaves gaps that vary depending on what size it is. I can’t think what I’m doing wrong. Any help would be greatly appreciated.