I have the below functions, actually I have more but its just repetive.
When I click on any of my movieclips that are brickclick_, they run all functions starting from the bottom up?
So for an example using the code below: If I clicked on Brick 0, the functions would run for brickclick_1 then brickclick_0 and not just the one being clicked on.
And, the movieclip is just a movieclip created using createEmptyMovieClip.
_root.brickclick_0.onMouseUp = function()
{
trace("----------------");
trace(this);
LoadBrick(0);
}
_root.brickclick_0.onMouseMove = function(){
LoadToolTip(BrickArray[0][0]);
}
_root.brickclick_1.onMouseUp = function()
{
trace("----------------");
trace(1);
LoadBrick(1);
}
_root.brickclick_1.onMouseMove = function(){
LoadToolTip(BrickArray[1][0]);
}