Skip to content

Instantly share code, notes, and snippets.

@konsultaner
Created June 7, 2013 09:28
Show Gist options
  • Save konsultaner/5728137 to your computer and use it in GitHub Desktop.
Save konsultaner/5728137 to your computer and use it in GitHub Desktop.
$('.movie').jsMovie({
images : ['loader_ani4x4.png'],
folder : 'pic/loader/',
height : 40, width: 40,
grid : {height:40, width:40, columns:4, rows:4},
showPreLoader : false,
playOnLoad : false,
playBackwards : false,
repeat: true,
fps:6
});
/*attributes: name, start frame, end frame, pause*/
$('.movie').jsMovie("addClip","myClip",3,10,1000);
$('.movie').jsMovie("addClip","myclip",11,16,0);
$('.movie').jsMovie("playClips");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment