Skip to content

Instantly share code, notes, and snippets.

@k0t0vich
Last active December 21, 2015 12:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save k0t0vich/d7cc64d372fe760525e2 to your computer and use it in GitHub Desktop.
Save k0t0vich/d7cc64d372fe760525e2 to your computer and use it in GitHub Desktop.
new EazeTween(_fg)
.to(0.2e3, { alpha: 1 })
.onComplete(function():void {
updateValue();
if ( _fg ) {
new EazeTween(_fg).to(0.5e3, { alpha: 0 } );
}
});
// эквивалент ли?
new EazeTween(_fg)
.to(0.2e3, { alpha: 1 })
.onComplete(updateValue)
.to(0.5e3, { alpha: 0 });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment