# Movie in a button

**URL:** <https://forum.kirupa.com/t/movie-in-a-button/213021>\
**Category:** Uncategorized\
**Created:** [January 16, 2007, 1:07pm UTC](https://forum.kirupa.com/t/movie-in-a-button/213021 "2007-01-16T13:07:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![legalnine](https://avatars.discourse-cdn.com/v4/letter/l/e5b9ba/32.png) [@legalnine](https://forum.kirupa.com/u/legalnine)\
**Post date:** [January 16, 2007, 1:07pm UTC](https://forum.kirupa.com/t/movie-in-a-button/213021/1 "2007-01-16T13:07:47Z")

</div>

hey guys. i need help again =X

first of all… my motive is to have 2 radio buttons…

what i did was…

embed a movie clip symbol called “m\_male” into a button name “male”. when the user clicks on male… the m\_male movie will go to the second frame (where it will be shown as checked)

the problem is… i keep on getting this “Error: A ‘with’ action failed because the specified object did not exist.”

my code looks like this…

on (release) {  
gender = “male”;  
with(this.m\_male) {  
gotoAndPlay(“checked”);  
}  
with(this.female.m\_female) {  
gotoAndPlay(“uncheck”);  
}  
}

checked and uncheck is the frame lebels.

could anyone help solve this problem? or is there another easier method to implementing a radio button?

}
