Jump to content

Why bug "Cannot read property 'addEvent' of undefined"


Fedia
 Share

Recommended Posts

I do everything by the example :

 

this.pauseBtn.on('pointerdown', function (event) {
    timer = this.time.addEvent({ delay: 10000, callback: hidePopup, callbackScope: this});
});

When compiling it issues an error : Uncaught TypeError: Cannot read property 'addEvent' of undefined. How to fix it?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...