# Problem with Button and Checkbox components

**URL:** <https://forum.kirupa.com/t/problem-with-button-and-checkbox-components/286423>\
**Category:** Uncategorized\
**Created:** [April 15, 2009, 9:48am UTC](https://forum.kirupa.com/t/problem-with-button-and-checkbox-components/286423 "2009-04-15T09:48:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![SrihariCh](https://avatars.discourse-cdn.com/v4/letter/s/f1d935/32.png) [@SrihariCh](https://forum.kirupa.com/u/SrihariCh)\
**Post date:** [April 15, 2009, 9:48am UTC](https://forum.kirupa.com/t/problem-with-button-and-checkbox-components/286423/1 "2009-04-15T09:48:05Z")

</div>

Hi all,  
As I am new to flash and ActionScript 3.0,I have the following issue regarding Flash.

```
    I have 2 swf files whose contents are as follows:

```

**First.swf** file contains a check-box (instance name: **my\_checkbox** ).

\*\*Second.swf \*\*file contains a button component(say,label name of **Submit** and with instance name: **submit\_btn** ).

```
    now, my requirement is: Whenever I click the submit_btn button, then the check_box must be get selected/visible. If I click it once again, then it must get deselected/invisible. The process must be continued till I stop the click-event on button component.

```

Reply me as soon as possible…  
Thanks in advance…

Srihari.Ch
