Animate cc - Need Help on a button
I'm working on banner and I need to add a "close button" and a "auto-close" at the end of banner.
The code i tried to use doesn't work :
if(!this.bton_Fermer_click_cbk) {
function bton_Fermer_click(evt) {
// Début de votre code personnalisé
console.log("Button clicked");
OA.close('bt'); <--- This part was added by me based on client specs
// Fin de votre code personnalisé
}
$("#dom_overlay_container").on("click", "#bton_Fermer", bton_Fermer_click.bind(this));
this.bton_Fermer_click_cbk = true;
}
I also need to add "OA.close('bt');" on the last frame of my timeline.
Thanks for your help
