Hello!
I know that there are some topics related to this, but code examples posted there didn’t help to solve my task so here another one…
what i need is to work with parts of movieclip…in attached picture there are two circles, a and b.
movieclip whiteSpot contains both a and b, but a is another movieclip inside of whiteSpot and called light(not sure if it is really necessary, may be it will be enough to make it graphics or something?).
i’m adding few instances of whiteSpot to the stage and then i’m starting to manipulate them with mouse, moving around, and checking if they are hit each other…
I want to be able to drag whiteSpot only when mouse click on a (light), and if mouse clicking b just to ignore it.
also, when mouse over a, light movieclip changing it’s color for more bright. indicating that it is active part of object.
i’m sending you project as well, you can see that i’m able to drag only whole object and change color of both parent and child…
In attachment whole project, please, take a look!
Thank you very much, it is my first week in Flash, so any help is appreciated!