Created
July 28, 2010 23:06
-
-
Save rwaldron/496657 to your computer and use it in GitHub Desktop.
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
Burst({ | |
'arbitrary-timeline-name' : { | |
start: 0, | |
frames: 100, | |
ratio: 1, | |
loop: false, | |
finish: function () {}, | |
tracks: { | |
'arbitrary-red-square' : { | |
ref: redBox.style, | |
props: | |
[ | |
{ prop: 'left', | |
keys: [ | |
[ 0,0, 'inOutBounce'], | |
[ 100,50 ], | |
] | |
} | |
] | |
}, | |
'arbitrary-green-square' : { | |
ref: function (attrs) { | |
$('#greenBox').css(attrs); | |
}, | |
props: | |
[ | |
{ prop: 'top', | |
keys: [ | |
[0,0,'inOutBounce'], | |
[50,50] | |
] | |
}, | |
{ prop: 'width', | |
keys: [ | |
[0,50], | |
[50,50], | |
[75,200], | |
[100,50] | |
] | |
} | |
] | |
} | |
} | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment