# Button Function Not Working

**URL:** <https://forum.kirupa.com/t/button-function-not-working/322612>\
**Category:** flash\
**Created:** [May 27, 2011, 3:56am UTC](https://forum.kirupa.com/t/button-function-not-working/322612 "2011-05-27T03:56:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![BUroKHUli](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/burokhuli/32/190_2.png) [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)\
**Post date:** [May 27, 2011, 3:56am UTC](https://forum.kirupa.com/t/button-function-not-working/322612/1 "2011-05-27T03:56:45Z")

</div>

Hi guys,

Once again, I don’t understand why a simple script is not working. I’m beginning to think my laptop is screwing me up. When things don’t go your way, you get paranoid, and that’s what’s happening to me.

I made a simple MOVIE which is hidden by default and will play only once the PORTFOLIO button is pressed.

```php
btn_portfolio.onRelease = function() {
	subnavigation.gotoAndPlay("show");
};

```

I have checked and rechecked my MOVIE INSTANCE and still it’s not working. I even tried adding “\_root” and “this” before the “subnavigation” but still not working. I’m just confused why is this happening.

I captured it on video just to give you an idea!

I’m taking a break and hope I can be better at solving this simple problem that’s driving me nuts!

thanks!
