Veilkrand Posted February 18, 2014 Share Posted February 18, 2014 Hi, this is maybe very noob question.But I'm trying to implement a button using the Button class when click it will tween the scale to 1.5 and then back to 1. Thanks. Link to comment Share on other sites More sharing options...
BunBunBun Posted September 16, 2014 Share Posted September 16, 2014 does anyone know how to do it? also want to know how to do it Link to comment Share on other sites More sharing options...
BunBunBun Posted September 27, 2014 Share Posted September 27, 2014 up Link to comment Share on other sites More sharing options...
lewster32 Posted September 27, 2014 Share Posted September 27, 2014 The callback returns the button being pressed, so you can use that to tween it like so: http://jsfiddle.net/lewster32/m720kans/ Link to comment Share on other sites More sharing options...
BunBunBun Posted September 29, 2014 Share Posted September 29, 2014 but how to call some function when tween of pressed button is finished? Link to comment Share on other sites More sharing options...
lewster32 Posted September 29, 2014 Share Posted September 29, 2014 Use onComplete on the tween, like this: http://jsfiddle.net/lewster32/m720kans/3/ Link to comment Share on other sites More sharing options...
BunBunBun Posted September 30, 2014 Share Posted September 30, 2014 lewster32, thanks! Link to comment Share on other sites More sharing options...
Recommended Posts