Forum Moderators: open
I am having problems with a page that I have made..
This is my problem:
I need to preload Flash movies when the main page loads, so that these flash movies will run smoothly without delay later on into the website. But I don't want to have a "flashLoader" I would be happier off to use Javascript or asp or something else..
If anyone has any idea, please write a message.
thanks
//Daniel
<script type="text/javascript">
function preloadFlash() {
myFlash = new Image();
myFlash.src ="../media/movie.swf";
}
</script>
The function preloadFlash should be called after the document has been loaded:
<body onLoad="preloadFlash()">
The movie should now be downloaded and put into the browser's cache.
Welcome to WebmasterWorld, by the way!
please write an example, I'm really not good at javascript.
thank you very much for an extremely fast answer last time =)
//daniel