[Vuejs]-Easeljs: "createjs.Ticker.paused = true" not working

0👍

I figured it out, if anyone’s interested.

There’s a variable in the HandleComplete() function called exportRoot.
I put exportRoot in data() as undefined, and then called it from elsewhere with the “this” keyword.

My function ended up looking like this:

controlPlaying(state) {
    if (state == 'pause') {
      this.exportRoot.paused = true
    }
    else {
      this.exportRoot.paused = false
    }
  }

Leave a comment