Gods Posted May 9, 2015 Share Posted May 9, 2015 I am not familiar with tween but I am trying to tween a button when its clicked http://jsfiddle.net/rxdrvquo/When I click it the tween works but the button doesnt work? I am not sure if I am doing it the best way either as I want all my buttons to have this tween effect. lmk thanks Link to comment Share on other sites More sharing options...
XekeDeath Posted May 10, 2015 Share Posted May 10, 2015 My guess is that you are not passing a callback context to this line:this.button.events.onInputDown.add(this.clicked);Try it like this and see how it goes:this.button.events.onInputDown.add(this.clicked, this); Link to comment Share on other sites More sharing options...
Gods Posted May 18, 2015 Author Share Posted May 18, 2015 I tried passing the callback context and still doesnt work. Link to comment Share on other sites More sharing options...
Recommended Posts