I am learning flex, i need help in this problem.
Yesterday i made a small application in which i have a border container and 2 buttons in it.
To the border container i placed a click event which changes its background color.
But the problem here is that when i click the buttons (which are placed inside the border container ) ,the border container's background color also changes.
I don't want the border container's background color to change when the buttons are clicked is that possible?
In your event listener function, check for the target property of the event object. Do the coloring logic only if it is BorderContainer