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

Is it possible to remove 'createjs.Touch.enable(stage);'

Participant ,
Nov 04, 2022 Nov 04, 2022

At the beginning of the animation I use createjs.Touch.enable(stage); so the user can interact on smartphone. At the end of the animation I don't want the user to be able to interact anymore. What is the right syntax to remove 'createjs.Touch.enable(stage);'?

 

something like 'remove.createjs.Touch.enable(stage);'?

TOPICS
Code
372
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

Engaged , Nov 04, 2022 Nov 04, 2022
Translate
Engaged ,
Nov 04, 2022 Nov 04, 2022

https://www.createjs.com/docs/easeljs/classes/Touch.html

createjs.Touch.disable(stage);




- Vlad: UX and graphic design, Flash user since 1998
Member of Flanimate Power Tools team - extensions for character animation
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
Participant ,
Nov 04, 2022 Nov 04, 2022
LATEST

Thanks!

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