# VIDEO: Loading from CD

**URL:** <https://forum.kirupa.com/t/video-loading-from-cd/110320>\
**Category:** Uncategorized\
**Created:** [May 14, 2004, 4:25pm UTC](https://forum.kirupa.com/t/video-loading-from-cd/110320 "2004-05-14T16:25:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wmffra](https://avatars.discourse-cdn.com/v4/letter/w/b38774/32.png) [@Wmffra](https://forum.kirupa.com/u/Wmffra)\
**Post date:** [May 14, 2004, 4:25pm UTC](https://forum.kirupa.com/t/video-loading-from-cd/110320/1 "2004-05-14T16:25:44Z")

</div>

[size=2]Hi all,

Seen a lot of people having the same problem:

Is it possible to decrease the waiting time when loading an external (embedded video) .swf into the main movie?  
Quick example a 16mb .swf will take approximately 8-10seconds to load from cd before starting to play . . . . .

I’ve tried all sorts of different combinations/preloaders, while the movie loads all animation and mouse movements stop dead then the preloader flashes on the screen for a split second.

Another option -  
[/size]loadSWF = function (swf, startFrame) {  
\_root.container\_mc.loadMovie(swf);  
checkLoaded = function () {  
if (\_root.container\_mc.getBytesLoaded() \>= \_root.container\_mc.getBytesTotal()\*0.25) {  
stopAllSounds();  
\_root.container\_mc.gotoAndPlay(startFrame);  
clearInterval(itv);  
}  
};  
itv = setInterval(checkLoaded, 10);  
};

The above code was given to me by Kalliban(Cheers mate ;o)  
It also by-passes, so the video fully loads first before you can do anything . .

Any ideas???

Pleeeeeeeeeeeeeeeeeeeeease
