Ok, I have a tricky AS question. I’m making a flash game where the object is to enclose a series of circle movieclips with a dynamicly drawn line (using lineTo and mouseX/mouseY).
I’m having trouble figuring out how exactly am I going to get the game to recognise that one of these circles has been completely enclosed. I was thinking something along the lines of doing a fill within the line shape and then doing a check to see if the circle is within that fill but I’m not sure if I can check if a new line crosses over an exisiting one.
See the attached for a visual explanation.
any help would be much appreciated, cheers.