We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sprite.scaleX.watch(function(before, after) { trace("change---------------"+before+"_"+ after); } );
//script.run(new Parallel([new AnimateTo(sprite.scaleY, 2, 1, Easing.backIn),new AnimateTo(sprite.scaleX, 2, 1, Easing.backIn)]));//work , trace every change
script.run(new AnimateTo(sprite.scaleY, 2, 1, Easing.backIn));//not work ,just get only one trace.
May be property watch has some error. or that 's right?
The text was updated successfully, but these errors were encountered:
Are you adding a watch() to scaleY too? The second AnimateTo line doesn't change scaleX.
If so, that's weird :) please attach a full test case I can compile and run?
Sorry, something went wrong.
Are you adding a watch() to scaleY too?no ,I forget. thanks
No branches or pull requests
sprite.scaleX.watch(function(before, after) { trace("change---------------"+before+"_"+ after); } );
//script.run(new Parallel([new AnimateTo(sprite.scaleY, 2, 1, Easing.backIn),new AnimateTo(sprite.scaleX, 2, 1, Easing.backIn)]));//work , trace every change
May be property watch has some error. or that 's right?
The text was updated successfully, but these errors were encountered: