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

Popular posts from this blog

php - get table cell data from and place a copy in another table -

javascript - Mootools wait with Fx.Morph start -

php - Navigate throught databse rows -