J
Jim Ley
Of course it wouldn't be streaming. Lacking a real and worthwhile
cross-browser way to implement streaming given the requirements of the
project, we're left with emulation.
but, the example method I've already given in the thread, is a much
better emulation, the problem as posed is that OP does not want to
wait for the entire file to download before anything happens -
completely reasonable. The option I suggested was to write a document
out
<script type="text/javascript">
parent.functionName("donkey");
/* ... */
</script>
<script type="text/javascript">
parent.functionName("chicken");
/* ... */
</script>
<script type="text/javascript">
parent.functionName("Moomin");
/* ... */
</script>
This method has the functions called as the document is loading, the
script executes as the file is loading, not just once onload.
Since you've neither asked for an explanation nor given one yourself,
there's little more to say than that.
I'd already given the example in the thread, maybe you could've
responded to that one if you think it was in some way bad?
Jim.