# \[mx\] checkboxes, arrays & loops!

**URL:** <https://forum.kirupa.com/t/mx-checkboxes-arrays-loops/32821>\
**Category:** flash\
**Created:** [October 11, 2003, 7:25pm UTC](https://forum.kirupa.com/t/mx-checkboxes-arrays-loops/32821 "2003-10-11T19:25:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chartrandi](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@chartrandi](https://forum.kirupa.com/u/chartrandi)\
**Post date:** [October 11, 2003, 7:25pm UTC](https://forum.kirupa.com/t/mx-checkboxes-arrays-loops/32821/1 "2003-10-11T19:25:31Z")

</div>

Hi,

[here’s what I’m talking about](http://www.geocities.com/chartrandi/check.html)

[Here is the FLA file](http://www.geocities.com/chartrandi/check.fla)

I have three checkboxes (not mx components) and a dynamic textbox on which the “showtext” variable is assigned. I want the dynamic text box to display the labels attached to checkboxes when they return a value of 1 : (box one is checked, box2 isn’t so the label doesn’t appear, and so forth.)

I figured I need to use an array for the checkbox labels.

I probably need a loop that verifies which checkboxes are checked (value=1). and use an array to combine the checked boxes with their respective label.

Any help would be greatly appreciated, for I’ve been stuck with this problem for 3 days now and I’m confused.

-Isabelle 😏
