-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Description
Hey all, I have a question:
What could be the potential reasons for Animate-CC/CreatJS Canvas mouse interactions to work here (press the video play button ) but not here (press the button "play")?
Please open the console, you will see the first site logging both the canvas and the stage clicks, while the second one logs only the canvas clicks.
This is the code I have:
this.stage.addEventListener("click", function(){console.log("stage is clicked")});
this.stage.canvas.addEventListener("click", function(){console.log("canvas is clicked")});
My code is loaded into both of the above pages, but the second page does something that makes the stage un-clickable.
Any ideas?
Reactions are currently unavailable