Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

TextLine could not disable mouse events

Community Beginner ,
Jul 18, 2017 Jul 18, 2017

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?

TOPICS
ActionScript
209
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Beginner , Jul 21, 2017 Jul 21, 2017

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;

Translate
Community Beginner ,
Jul 21, 2017 Jul 21, 2017
LATEST

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;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines