Adobe Animate runs in a sandbox with no external connections allowed, so Serproxy or equivalent is required when using serial devices. Serproxy and Animate communicate through a TCP port on localhost.
But jitter, delays and uncertainty somewhere in the chain make this setup unsuited for near-realtime use.
We switched to Unity, which allows direct serial connections, and our issues vanished.