I use google converted swiffy script like this
var stage = new swiffy.Stage(document.getElementById('swiffycontainer'),swiffyobject);
stage.start();
My point is I want to do the action after the animation end. but I don't know how to track the frame on swiffy object.
this is my work before asking
I put start method after page is loaded on
$(document).ready
$(window).load
window.onload =
and track the time (random test to reach the last frame) with
setTimeout(callAtEnd(),10000);
result: not work; like it count the time when page is rendering, not after complete rendered
- let it start method and put setTimeout on load (should count after complete rander
result: not work either
Please help or give other solution to do.
Many thanks.