HTML5 .bind(this) what?
I am trying to wrap my head around the HTML5 alternate code. I am trying to wrap my head around the .bind(this);
this.button_1.addEventListener("click", fl_ClickToGoToAndPlayFromFrame.bind(this));I understand 'this' for the start and it is reffereing to this instance ( I think). But then the call to teh function adds .bind(this). What is the purpose of this when simply calling a function? I tried to revove it, but that casued it to no longer work.
Also, is the 'fl_' important to have in the function name?
Thanks.
