Adobe Animate 2019.
camera.getPosition(frameIndex)
frameIndex:int
Point object e.g.{x:0,y:0}
Return object with x,y, and z properties that specify current location of camera.
The following example :
var tl = an.getDocumentDOM().getTimeline();
var cameraPos = tl.camera.getPosition(3); // get the camera position at 4th frame in timeline
an.trace("Camera position: x = " + cameraPos.x + ", y = " + cameraPos.y);