# What's wrong with this bit of code?

**URL:** <https://forum.kirupa.com/t/whats-wrong-with-this-bit-of-code/31292>\
**Category:** Uncategorized\
**Created:** [September 20, 2003, 9:47pm UTC](https://forum.kirupa.com/t/whats-wrong-with-this-bit-of-code/31292 "2003-09-20T21:47:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kevp](https://avatars.discourse-cdn.com/v4/letter/k/59ef9b/32.png) [@kevp](https://forum.kirupa.com/u/kevp)\
**Post date:** [September 20, 2003, 9:47pm UTC](https://forum.kirupa.com/t/whats-wrong-with-this-bit-of-code/31292/1 "2003-09-20T21:47:58Z")

</div>

I’m trying to get a menu to appear ontop of an existing external jpg that’s loaded onto layer 4. So i made a MC with buttons on it, but it’s not a external .swf, it’s just in the library of my main.fla

so here’s the code:

[AS]  
on (release) {  
\_root.createEmptyMovieClip(“holder3”, 3);  
loadMovie(“resume\_middle.jpg”, “holder3”);  
holder3.\_x = 160 ;  
holder3.\_y = 10 ;  
\_root.createEmptyMovieClip(“holder7”, 7);  
attachMovie(“resume\_menu”, “resume\_menu”, 7);  
holder7.\_x = 160 ;  
holder7.\_y = 10 ;  
}  
[/AS]

The jpg loads just fine, but the MC with the buttons on it isn’t showing up like i thought it would. How can i do that?
