# Preloading an external swf - I just cant crack this!

**URL:** <https://forum.kirupa.com/t/preloading-an-external-swf-i-just-cant-crack-this/216952>\
**Category:** flash\
**Created:** [February 21, 2007, 9:56pm UTC](https://forum.kirupa.com/t/preloading-an-external-swf-i-just-cant-crack-this/216952 "2007-02-21T21:56:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kaanuki](https://avatars.discourse-cdn.com/v4/letter/k/f05b48/32.png) [@kaanuki](https://forum.kirupa.com/u/kaanuki)\
**Post date:** [February 21, 2007, 9:56pm UTC](https://forum.kirupa.com/t/preloading-an-external-swf-i-just-cant-crack-this/216952/1 "2007-02-21T21:56:24Z")

</div>

I’m having lots of trouble preloading an external .swf before proceeeding to the next frame. It waits for a few moments, pretending to preload it, but once it proceeds to the next frame, the movie/bumper still takes a few moments to load… Please help!!!

## Here is my code:

//varbumper is set to the location of a swf located located on the server

mcBUMPER.visible = false;  
mcBUMPER.load(varBumper)

var listenerObject:Object = new Object();  
listenerObject.complete = function(eventObj:Object){  
gotoAndStop(2);  
};

mcBUMPER.addEventListener(“complete”, listenerObject);
