Countdown to a date: Syntax and loading issue
I am having issues loading (browser) the JavaScript assigned to a text field in Adobe Animate CC.
The code is as follows
---------------
var specific_d=new Date(2018, 8, 24);
createjs.Ticker.addEventListener("tick"tickF.bnd(this));
function tickF(){
var d=new Date();
this.countdown_txt.text=Math.round((specific_d.getTime()-d.getTime())/(1000*60*60*24))+" days";
}
---------------------
The error messages are (console.log)
Uncaught SyntaxError: missing ) after argument list
and
Uncaught ReferenceError: AdobeAn is not defined
at init at onload
Thank you in advance,
Andrew
