Here is the error I always getUncaught TypeError: Object #
And my code
It's weird that the documentation recommends using the following which wouldnt run at all:Edge.getComposition( compId )
I think I can help you with this one...
The loading process of any Animate composition is asynchronous. Loading the "_edgePreload.js" file provides the global EdgeAnimate object but not the instantiated composition yet (asynch loading). So the solution is to use the bootstrap callback to wait for the composition to be loaded completely. I've built a demo with multiple compositions and interaction between them. It's a little more than you are actually looking for, but it demonstrates the usage of the bootstrap callback pretty good.
BTW: "The Edge.* interface is available to use, but you should reference the global AdobeEdge variable if attempting to access the object from outside of the Edge Animate runtime."
Hope that helps!