Answered
Finding the Coordinates/ Location of an Element
Hi All,
I'm probably not using the correct search terms to find the answer in this forum:
I just need to find the x and y coordinates for an instance -relative to the stage.
(I'm publishing my FLA as a Canvas project using Animate CC.)
myCoordinate = this.myInstance.getBoundingClientRect();
alert (myCoordinate.top);
...Doesn't seem to work in my script window.
Thanks!