Created
November 12, 2010 10:14
-
-
Save shouvik/673945 to your computer and use it in GitHub Desktop.
example usage of morth function
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var item = CANVAS.layers.get('myLayer').get(coin); | |
new Cmorph(item, { | |
duration: 5000, | |
transition: 'back:in:out', | |
}).morph({ | |
scale : -1 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment