Preventing Text Field Blocking MouseClicks
Posted on 16. Apr, 2009 by Michele in ActionScript 3 Snippets
To make text not clickable – as it may interfere with a sprite being clickable:
textFiledCreatorName.mouseEnabled = false;
Fine if this text field is nested in the same sprite.
But put the text into another sprite overlapping the one below that has the eventListener – and it still blocks it.
Solution:
otherOverlappingSprite.mouseEnabled = false;
//on the overlapping sprite AS WELL AS the text field.


