Copy link to clipboard
Copied
I create a FTE's TextLine object, and set mouseChildren and mouseEnabled false, but it is still clickenabled!
and how can I disable mouse enabled on TextLine object?
TextLine has this problem, so if you want to textline disable mouse events, you could insert textline into a sprite object, and set the sprite's mouseChildren is false
var container:Sprite = new Sprite();
container.addChild(textline);
container.mouseChildren = container.mouseEnabled = false;
Copy link to clipboard
Copied
TextLine has this problem, so if you want to textline disable mouse events, you could insert textline into a sprite object, and set the sprite's mouseChildren is false
var container:Sprite = new Sprite();
container.addChild(textline);
container.mouseChildren = container.mouseEnabled = false;
Find more inspiration, events, and resources on the new Adobe Community
Explore Now