JS error only when instance has a name
Hi,
can't figure out this one, hope someone can help me.
Canvas document with an instance of a Movie Clip on a separate layer. On the MC some script (like a console.log, doesn't matter). There is also a camera with some script in the scene.
When I assign a name to the MC and publish, I get
Uncaught TypeError: Cannot read properties of undefined (reading 'resetButton')in DevTools. When the MC has no instance name, there is no error. When I delete the camera or completely delete the script on the MC intance, there is also no error.
Am I missing something fundamental about instances? My understanding is that every instance needs to have a name in order to be adressed by scripts.
thank you
Philip
