flash - jquery tools display a loader until all flashembed content is loaded completely -
i tried use jquerytools load swf content flashembed function.
flashembed("flash-background", { src: "swf/background.swf", wmode: 'transparent', quality: 'high', width: '100%', height: '100%', allowfullscreen: 'true', scale: 'noborder' }); flashembed("flash-mp3player", { src: "swf/mp3player.swf", wmode: 'transparent', quality: 'high', width: '100px', height: '30px', allowfullscreen: 'false' });
html
<!-- flash background --> <div id="flash-background"></div> <!-- flash player --> <div id="flash-mp3player"></div>
i'd display loader until flash content loaded completely. how do? shall use jquery? thanks
use $.deferred() achieve that
Comments
Post a Comment