I am making a web app that will allow you to go through "pages" by clicking and dragging or sliding your finger (touch devices).
I am wanting to make a seperate animation on Edge for each page and play it when the current page is on witht the relevant edge comp.
So far my code allows me to know what page is being viewed and that the animation should be played, however I can not figure out how to play the comp.
WHEN page = 1, play composition "page1".
If currentPage is not currentPage, stop composition "page 1".
Please could you help me as I've been racking my brain all day to figure this out.
This has helped, however I am getting confused...
I am wanting it so that the comp does not auto play, and only when I tell it to, it does.
You unchecked autoplay options (Edge UI: main Stage).
Then, you add sym.play().