adobe animate html5 canvas virtual camera
Hello,
I am working in a project using HTML5 canvas and Javascript,
The adobe animate virtual camera does not seem to be working with objects that are added using code.
For example
If I added the object from a libarary
var SomeObject = new lib.SomeObject ();
this object will be automatically pinned to the virtual camera,
I tried to unpin it for example using
AdobeAn.VirtualCamera.getCamera(exportRoot).unpinCamera();
But I will get this error:
Uncaught TypeError: Cannot create property 'parent' on number '10'
Any ideas?
Thank you

