Highlighted

clicking on movieclip select the whole canvas on mobile

Explorer ,
Feb 05, 2020

Copy link to clipboard

Copied

When I click on an item that has a "click" event listener in my creatjs canvas project on a mobile device, sometimes the whole canvas 'gets selected' i.e. flashes blue.
The click on the MovieClip is detected, but how can I prevent this blue flash behavior on mobile? This is not happening on desktop.

Adobe Community Professional
Correct answer by JoãoCésar | Adobe Community Professional

Hi.

 

Include this instruction in your initialization code:

createjs.Touch.enable(stage);

 

 

Regards,

JC

TOPICS
Code

Views

83

Likes

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

clicking on movieclip select the whole canvas on mobile

Explorer ,
Feb 05, 2020

Copy link to clipboard

Copied

When I click on an item that has a "click" event listener in my creatjs canvas project on a mobile device, sometimes the whole canvas 'gets selected' i.e. flashes blue.
The click on the MovieClip is detected, but how can I prevent this blue flash behavior on mobile? This is not happening on desktop.

Adobe Community Professional
Correct answer by JoãoCésar | Adobe Community Professional

Hi.

 

Include this instruction in your initialization code:

createjs.Touch.enable(stage);

 

 

Regards,

JC

TOPICS
Code

Views

84

Likes

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
Feb 05, 2020 0
Adobe Community Professional ,
Feb 05, 2020

Copy link to clipboard

Copied

Hi.

 

Include this instruction in your initialization code:

createjs.Touch.enable(stage);

 

 

Regards,

JC

__________________________________________
HTML5, JSFL, and AS3 samples: http://bit.ly/2mJgDoG

Likes

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
Reply
Loading...
Feb 05, 2020 1
ClayUUID LATEST
Adobe Community Professional ,
Feb 05, 2020

Copy link to clipboard

Copied

Likes

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
Reply
Loading...
Feb 05, 2020 0