# Someone to the rescue please!

**URL:** <https://forum.kirupa.com/t/someone-to-the-rescue-please/272709>\
**Category:** Uncategorized\
**Created:** [October 7, 2008, 9:46pm UTC](https://forum.kirupa.com/t/someone-to-the-rescue-please/272709 "2008-10-07T21:46:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![euanc](https://avatars.discourse-cdn.com/v4/letter/e/7ab992/32.png) [@euanc](https://forum.kirupa.com/u/euanc)\
**Post date:** [October 7, 2008, 9:46pm UTC](https://forum.kirupa.com/t/someone-to-the-rescue-please/272709/1 "2008-10-07T21:46:22Z")

</div>

hi i was wondering if someone could help me with code?

i have buttons on the main stage which i want to control the loading of a movie clip in to a container movie clip on the stage. however, i want to fade in (alpha 0\>100) each clip on press of one of the buttons, and fade out the current movie clip in the container (100\>0).

```auto
b1.buttText.buttonText.text = "ABOUT US";
b1.onPress = function() {
function which loads clip "x" on fade + unloads current clip "y" with fade out
};

```

i have the buttons “nested” within a container movie clip on the stage as there are some transitions applied to the buttons, not sure how this would affect the potential code.

hope someone can help! :wt:
