Make sure your typedefs repo is up to date. IntersectionObserver is a web API which was added to typedefs relatively recently.
> On Oct 28, 2023, at 3:06 PM, Hugo Ferreira <hferreira...@gmail.com> wrote: > > Hi, > > I don't build Apache Royale framework for a very long time (many months) > and I tried to build today (after a fresh update) and I got the following > error (using ANT all): > > [java] 4.092803763 > seconds/Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/InfiniteScroller.as(147): > col: 20 Error: Call to a possibly undefined method IntersectionObserver. > > [java] > > [java] observer = new IntersectionObserver(handleItemIntersection, { > > [java] ^ > > [java] > > [java] > > [java] > /Volumes/Data/SDK/apache-royale-src/apache-royale/frameworks/projects/Basic/src/main/royale/org/apache/royale/html/beads/InfiniteScroller.as(147): > col: 20 Call to a possibly undefined method IntersectionObserver. > > [java] > > [java] observer = new IntersectionObserver(handleItemIntersection, { > > [java] ^ > > [java] > > [java] Java Result: 2