# Button problems loading with swf

**URL:** https://forum.kirupa.com/t/button-problems-loading-with-swf/28424
**Category:** flash
**Created:** [August 13, 2003, 5:26pm UTC](https://forum.kirupa.com/t/button-problems-loading-with-swf/28424 "2003-08-13T17:26:48Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Terces](https://avatars.discourse-cdn.com/v4/letter/t/b3f665/32.png) [@Terces](https://forum.kirupa.com/u/Terces)
#### Post date: [August 13, 2003, 5:26pm UTC](https://forum.kirupa.com/t/button-problems-loading-with-swf/28424/1 "2003-08-13T17:26:48Z")

</div>

Hi hi I created a button which will load a swf into a empty movie clip when the button is pressed. I previewed it with Ctrl Enter and Ctrl F12. Sometimes it works sometimes it doesn’t. I tried with 2 different files. The smaller file size “Feedback” (attached file) seems to work sometimes.

I am planning on doing a full flash site and I followed the full flash site tutorial since I am a newbie in actionscripts.

Can someone help me out with this one?

Thanks in advance.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [August 13, 2003, 6:23pm UTC](https://forum.kirupa.com/t/button-problems-loading-with-swf/28424/2 "2003-08-13T18:23:17Z")

</div>

You had changed two instances of your carapace graphic into buttons - if you clicked when the playhead was on these specific frames it worked, if the playhead was on the non-button carapace graphics, it didn’t.

I’ve embedded the button inside the carapace so it works on all frames. I also remove the conflicting play() and stop() commands from f1 of the main timeline. (By default the playhead will play unless you explicitly instruct it not to)
