# onEnterFrame problems

**URL:** https://forum.kirupa.com/t/onenterframe-problems/213562
**Category:** flash
**Created:** [January 20, 2007, 10:40pm UTC](https://forum.kirupa.com/t/onenterframe-problems/213562 "2007-01-20T22:40:18Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![titoqan](https://avatars.discourse-cdn.com/v4/letter/t/dbc845/32.png) [@titoqan](https://forum.kirupa.com/u/titoqan)
#### Post date: [January 20, 2007, 10:40pm UTC](https://forum.kirupa.com/t/onenterframe-problems/213562/1 "2007-01-20T22:40:18Z")

</div>

Hello,

I am trying to load a swf using the onEnterFrame. this is what I have on the first frame of my main\_swf

onEnterFrame = function (){  
\_root.createEmptyMovieClip(“compass”,1);  
loadMovie (“compass.swf”, compass\_mc);  
}

When I publish I just get a blank swf.

When I just use

loadMovie (“compass.swf”, compass\_mc);  
I have an empty \_mc with the instance name of “compass\_mc”  
I get the swf to load but no animation.

Any pointers?

Thanks  
Titoqan
