# Actionscript 3.0 Question

**URL:** https://forum.kirupa.com/t/actionscript-3-0-question/276152
**Category:** flash
**Created:** [November 23, 2008, 8:50pm UTC](https://forum.kirupa.com/t/actionscript-3-0-question/276152 "2008-11-23T20:50:39Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![skelebunny](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@skelebunny](https://forum.kirupa.com/u/skelebunny)
#### Post date: [November 23, 2008, 8:50pm UTC](https://forum.kirupa.com/t/actionscript-3-0-question/276152/1 "2008-11-23T20:50:39Z")

</div>

In my website I have three pages. On each of the pages I have content that that fades in, then has a stop action, then has a fade out tween. What I would like to happen is when I click on a button that takes me to another section of my website for the content movie clip to start playing(it has already faded in and is at a stop action), finish it’s fade out tween, THEN, go to the other section of the site. This is what I have. I know this is incorrect. Any Ideas?

stop();

[AS]

this.menuContainer.home\_mc.buttonMode = true;  
this.menuContainer.go\_mc.buttonMode = true;  
this.menuContainer.thankyou\_mc.buttonMode = true;

this.menuContainer.go\_mc.addEventListener(MouseEvent.MOUSE\_DOWN, goBtn);

function goBtn(e:MouseEvent):void  
{  
homeFade.play();  
gotoAndStop(“go”);  
}

[/AS]
