# Custom Radio Buttons Coding

**URL:** <https://forum.kirupa.com/t/custom-radio-buttons-coding/259472>\
**Category:** flash\
**Created:** [May 5, 2008, 9:11pm UTC](https://forum.kirupa.com/t/custom-radio-buttons-coding/259472 "2008-05-05T21:11:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![GFresh](https://avatars.discourse-cdn.com/v4/letter/g/d6d6ee/32.png) [@GFresh](https://forum.kirupa.com/u/GFresh)\
**Post date:** [May 5, 2008, 9:11pm UTC](https://forum.kirupa.com/t/custom-radio-buttons-coding/259472/1 "2008-05-05T21:11:17Z")

</div>

Does anyone know the actionScript to apply to custom radio buttons? I want them to function exactly like the component radio buttons available in CS3, but I can’t use those because adding one makes the .swf about 30k and I have a 30k limit on all flash files.

I imagine the radio button would have to be a mC with frame 1 a drawing of a button unchecked and frame 2 the button checked. Then another mC of 4 of those radio button mC’s grouped together and coding to tell it that when one is clicked to unclick the others, but I haven’t been able to figure it out. I haven’t been able to find any info on this online since everyone just uses the component versions anymore. Any help is appreciated.
