Does anyone have any idea how I can do this?
I think I have the same or a similar issue.
I am using a modified version of Edge Commons - Extension Library for Edge Animate and Edge Reflow | EdgeDocks.com
to listen to touch swipe events in an external compositions.
var promise = EC.loadComposition("publish/comp_01.html", sym.getSymbol("content"));
var stage = comp.getStage();
// Listen for events dispatched by the external composition
This works great for the composition loaded by this script, but the comp.getStage function does not pick up on swipe events on anything other than the .$("bg") in this composition.
For example I have 30 compositions each with a .$("bg") but only the one loaded by this script works with this script. I am looking for a way to universalize the event listener to work with every .$("bg") loaded into my main stage symbol.
Do you or does anyone else have a solution?
Note that swipe events can be achieved using the hashchange event. Because Safari history is changed.