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

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

Participant ,
Nov 04, 2022 Nov 04, 2022

Copy link to clipboard

Copied

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

Views

129

Translate

Translate

Report

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

Votes

Translate

Translate
Engaged ,
Nov 04, 2022 Nov 04, 2022

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

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

Copy link to clipboard

Copied

LATEST

Thanks!

Votes

Translate

Translate

Report

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