|
Hi everyone!
I am having problems with a page that I have made..
This is my problem:
I have more than 5 flsah movies. 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 comfortable to use Javascript.
I really need to be able to control or confirm the loading through javascript (like pre-loading images) rather than through a pre-loader within the flash file.
I tried with the following Scripts But Its not Preloading flash (swf) files.
<script type="text/javascript">
function preloadFlash() {
myFlash01 = new Image();
myFlash01.src ="/media/movie1.swf";
myFlash02 = new Image();
myFlash02.src ="/media/movie2.swf";
myFlash03 = new Image();
myFlash03.src ="/media/movie3.swf";
}
</script>
<body onLoad="preloadFlash()">
|
|
|
|
|
|
|
|