|
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()">
|
|
|
Hi
You posted a thread (below) in 2007 but I see no answers. I would like to know if you found an answer to this as I also have a similar problem. I want my swf clips to open up immediately when the html page is selected. My site is not flash but its html with flash segments. Can you help?
Cheers
Lee
Your question
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()">
|
|
|
Hey,
I would think in my case(as a newbie to javascript)you can use a flash preloader,i wont be able to help with a javascript script, but i can say switch from javascript to asp! Thats just my opinion, but asp scripts are also widely available on the net, so just google 'asp flash pre-loader script'
Regards
|
|
|
|
|
|
|
|