Masked Custom Cursor?
I'm trying to make a my custom cursor (literally just a circle) worked as a mask layer to act as a sort of peep hole or flash light type search for waldo cursor. It masks an image so as you move the cursor it reveals parts of the image. The cursor works fine, the mask works fine. When you combine them everything breaks. Im using the custom cursor from the html 5 canvas snippets within animate CC, initially it gives this error:
Uncaught TypeError: Cannot set property 'mouseEnabled' of undefined.
So i comment out the mouseEnabled line. Then i get this:
Uncaught TypeError: Cannot set property 'x' of undefined
at lib.FindWaldo.fl_CustomMouseCursor_2 (FindWaldo.js?1518104652255:42)
at lib.FindWaldo.b._dispatchEvent (createjs-2015.11.26.min.js:12)
at lib.FindWaldo.b.dispatchEvent (createjs-2015.11.26.min.js:12)
at lib.FindWaldo.b._tick (createjs-2015.11.26.min.js:13)
at lib.FindWaldo.b._tick (createjs-2015.11.26.min.js:13)
at lib.FindWaldo.c._tick (createjs-2015.11.26.min.js:14)
at lib.Stage.b._tick (createjs-2015.11.26.min.js:13)
at lib.Stage.b.tick (createjs-2015.11.26.min.js:13)
at lib.Stage.b.update (createjs-2015.11.26.min.js:13)
at lib.Stage.b.handleEvent (createjs-2015.11.26.min.js:13)
Which loops and continually counts up the amount of errors.
Is it possible to create a mask out of a symbol that is being used for the cursor? or is this just a limitation of Animate?
