Hello, I'm trying to make a custom cursor for my project in actionscript and I'm having a bit of problem with the codes. The custom cursor works fine until I turn on the camera. The project is to make an interactive comic and the camera moves around the panels, and for this one specific panel I wanted to change the cursor for the interaction. The cursor changes just fine but as soon as I publish it with the camera on I get a 1120: Access of undefined property error. The error doesn't pop up if I publish it without the camera. Is there a way I can fix this?
you have a reference change. on the custom cursor's timeline put:
to see its reference and how it changes when you enable the camera.
hello, thank you for taking your time answering my question, but I'm not sure if I follow, I just started learning how to use animate and we barely learned anything so I barely have knowledge about coding. I've tried reading the linked source but it was very difficult to understand. If you can, may I request some elaboration on this?
on the custom cursor's timeline put:
1. what do you see in the output panel?
2. what code are you using that's triggering the 1120 error?
1. It still shows the same error codes 1120: Access of undefined property
2. I am using a code snipplet of "Custom Mouse Cursor" from adobe itself
name.mouseEnabled = false;
name.x = stage.mouseX;
name.y = stage.mouseY;
comment out your code and retest so you can report that trace output.