# Actionscript in Duplicated movie not responding

**URL:** https://forum.kirupa.com/t/actionscript-in-duplicated-movie-not-responding/178452
**Category:** flash
**Created:** [February 10, 2006, 5:08pm UTC](https://forum.kirupa.com/t/actionscript-in-duplicated-movie-not-responding/178452 "2006-02-10T17:08:06Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![clem\_c\_rock](https://avatars.discourse-cdn.com/v4/letter/c/c6cbf5/32.png) [@clem\_c\_rock](https://forum.kirupa.com/u/clem_c_rock)
#### Post date: [February 10, 2006, 5:08pm UTC](https://forum.kirupa.com/t/actionscript-in-duplicated-movie-not-responding/178452/1 "2006-02-10T17:08:06Z")

</div>

Hello,

I have a small movie clip w/ a button that increments a variable and displays it in a text field w/in said movie. The code works perfectly when I run the movie clip by itself.

When I load the movie clip into another movie the actionscript suddenly doesn’t work.

I’ve set the button code w/ in the loaded clip like this:

mc\_btn\_cntr.onRelease = function()  
{  
cnt\_var++;  
this.txt\_counter = cnt\_var;  
}

I just don’t get it.

Any Ideas?  
thanks
