I am trying to not show any graphical change when the user clicks/taps an IconItemRenderer with no decorator.
What am I doing wrong here, please?
override protected function drawBackground(unscaledWidth:Number,unscaledHeight:Number):void
if(data.decorator || (!down && !selected && !hovered))
If there is a decorator, call the super method - I don't want to change anything here.
If the state is neither down, selected or hovered, also call the super method.
The way I am doing it now is:
Is there a better way?
The rain in Spain keeps mainly on the plain.
That is to say, HELP!
Got an answer from another question.
Using either mouseChildren=false and mouseEnabled=false or preventing the event propagation in a handler.