I would like to handle some external functions (phonegap sound) when the user click in a button that was inside my animation, what is the best way to do that?
AdobeEdge.bootstrapCallback(function(compId) {
// "comp" is now equivalent to the Stage's "sym" variable.
comp = AdobeEdge.getComposition(compId).getStage();
// is it possible? how?
Symbol.bindElementAction(compId, symbolName, "${_ButtonNext2}", "click", function(sym, e) {
sym.play("dois");
});
//comp.getStage().getSymbol("rotatingSquare").play();
});
Best Regards