# Container // External .swf help

**URL:** <https://forum.kirupa.com/t/container-external-swf-help/33786>\
**Category:** flash\
**Created:** [October 23, 2003, 5:03pm UTC](https://forum.kirupa.com/t/container-external-swf-help/33786 "2003-10-23T17:03:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JamieMX](https://avatars.discourse-cdn.com/v4/letter/j/9de0a6/32.png) [@JamieMX](https://forum.kirupa.com/u/JamieMX)\
**Post date:** [October 23, 2003, 5:03pm UTC](https://forum.kirupa.com/t/container-external-swf-help/33786/1 "2003-10-23T17:03:55Z")

</div>

Please can a flash expert help me with this.

I have started creating a flash site which consists on a main movie which load other movies into a container.

I have made the first 2 buttons active:

1. EVENTS - when clicked this opens the events.swf into the container movie clip.

2. BAR - when clicked this opens the bar.swf into the container movie clip.

These buttons work fine when first clicked, however when i go to press the buttons for a second time, they refuse to open the .swf’s again?

Please can someone help … i am starting to panic.

The URL is [http://www.barretro.com/new/indexflash.htm](http://www.barretro.com/new/indexflash.htm)

I can supply the main.fla is needed.

---

<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:** [October 23, 2003, 5:29pm UTC](https://forum.kirupa.com/t/container-external-swf-help/33786/2 "2003-10-23T17:29:03Z")

</div>

post some code or fla

---

<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:** [October 23, 2003, 5:58pm UTC](https://forum.kirupa.com/t/container-external-swf-help/33786/3 "2003-10-23T17:58:42Z")

</div>

Thank you -

This is the mani .swf:

[http://www.barretro.com/new/flash/build.fla](http://www.barretro.com/new/flash/build.fla)

You may need these :  
[http://www.barretro.com/new/flash/event.fla](http://www.barretro.com/new/flash/event.fla)  
[http://www.barretro.com/new/flash/bar.fla](http://www.barretro.com/new/flash/bar.fla)

Thanks again!

---

<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:** [October 23, 2003, 7:00pm UTC](https://forum.kirupa.com/t/container-external-swf-help/33786/4 "2003-10-23T19:00:56Z")

</div>

Digitalosophy - did you have any luck?

---

<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:** [October 23, 2003, 7:19pm UTC](https://forum.kirupa.com/t/container-external-swf-help/33786/5 "2003-10-23T19:19:48Z")

</div>

sorry i havent gotten around to look at them yet, im very busy this afternoon. ill def take a look after 6

---

<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:** [October 24, 2003, 9:17am UTC](https://forum.kirupa.com/t/container-external-swf-help/33786/6 "2003-10-24T09:17:39Z")

</div>

Can anyone help … I am still stuck? :o(

---

<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:** [October 24, 2003, 10:25am UTC](https://forum.kirupa.com/t/container-external-swf-help/33786/7 "2003-10-24T10:25:03Z")

</div>

I think i’ve found the problem:  
you have actions on your buttons and a onPressfunction. it seems like the buttonactions override the onPressfunction.  
I have skipped the onPress function (in layer 13 of the menusys) and put it in the button:  
[AS]on (release) {  
gotoAndStop(2);  
}  
on (press) {  
if (\_root.section != “events.swf”) {  
\_root.section = “events.swf”;  
//trace(“events.swf”);  
\_root.transition.gotoAndPlay(“closing”);  
\_parent.submenu.gotoAndPlay(“events”);  
\_parent.buttonEnable();  
}  
}[/AS]

hope this will help you:}

scotty

---

<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:** [October 24, 2003, 10:34am UTC](https://forum.kirupa.com/t/container-external-swf-help/33786/8 "2003-10-24T10:34:08Z")

</div>

Scotty … that worked! You are a genious! Thank you so much!!!

Jamie

---

<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:** [October 24, 2003, 10:39am UTC](https://forum.kirupa.com/t/container-external-swf-help/33786/9 "2003-10-24T10:39:24Z")

</div>

you’re welcome;)
