# Actionscript on my button problem

**URL:** <https://forum.kirupa.com/t/actionscript-on-my-button-problem/31042>\
**Category:** flash\
**Created:** [September 17, 2003, 5:29pm UTC](https://forum.kirupa.com/t/actionscript-on-my-button-problem/31042 "2003-09-17T17:29:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bigbadmilkman](https://avatars.discourse-cdn.com/v4/letter/b/9fc348/32.png) [@bigbadmilkman](https://forum.kirupa.com/u/bigbadmilkman)\
**Post date:** [September 17, 2003, 5:29pm UTC](https://forum.kirupa.com/t/actionscript-on-my-button-problem/31042/1 "2003-09-17T17:29:23Z")

</div>

Hi guys, i want to dynamically load a movie, i have this ac on the button

on (release) {  
\_root.content.loadMovie(“Homeb.swf”);  
}

I have created a mask and a content mc, and named the content mc content, but when i click on the button nothing happens, i don’t know why, theres probably a problem with the action script i am using, also i want a mc with an instance name ‘def’ to disappear once the button is clicked on, how do i code for this. Any help would be appreciated, thanks!
