I have made an application that allows me to swipe left and right through pages, when I get to say page "2" animation 2 plays... When it ends, it stops.
What I am trying to figure out, is how to reset the animation (to the beginning) when I tell it to i.e when the page is changed.
My code for playing is as follows:
var play = "edge_page" + page;
var comp = $.Edge.getComposition(play);
var stage = comp.getStage();
Since you're attempting to go multicomp, you're going to need a reference to the previous composition. Instead of constructing the variable play, you could create an Array of all of your pages and keep a counter of where you are in the comp. Then, when you play your next page, you can reset your previous page (depending on which direction you're going) by simply adding to or subtracting from your counter.
Hope that helps,