Hi to all. I'm trying to get the percent of an swf object in the html page.
I'm using the method PercentLoaded(), the code is working fine in IE and not working in Firefox.
I print the percent and in IE and see 0, 20, 30....100%
In Firefox I see only 0 and then 100%.
Why the method can't get all the values.
Do you have any idea, how I can get the percent loaded of an swf object.
<script>
function waitUntilLoaded()
{
// get the movie in diferent way in IE/FF
var testMovie = isIE ? window.document.testMovie : document.testMovie;
alert(testMovie.PercentLoaded());
if(testMovie.PercentLoaded() == 100)
return;
else
setTimeout('waitUntilLoaded()',10);
}
waitUntilLoaded();
</script>