# Please help me with this code

**URL:** <https://forum.kirupa.com/t/please-help-me-with-this-code/281785>\
**Category:** flash\
**Created:** [February 13, 2009, 6:11am UTC](https://forum.kirupa.com/t/please-help-me-with-this-code/281785 "2009-02-13T06:11:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hotdog](https://avatars.discourse-cdn.com/v4/letter/h/c67d28/32.png) [@hotdog](https://forum.kirupa.com/u/hotdog)\
**Post date:** [February 13, 2009, 6:11am UTC](https://forum.kirupa.com/t/please-help-me-with-this-code/281785/1 "2009-02-13T06:11:57Z")

</div>

This code is placed in several text boxes in my 10th frame and when I go to the 15th frame and come back to the 10th frame the selected checkboxes are not visible.

Can anyone tell me how to keep **my\_Dyn\_Txt1** visible unless it’s unchecked. But at the start I need **my\_Dyn\_Txt1** not to be visible as in the code. After the checkbox is selected I should be able to move to any frame (front and back) while **my\_Dyn\_Txt1** is still visible unless it’s unchecked by the user.

```auto
my_Dyn_Txt1._visible = false
cb1.onRelease=function()
{ if(this._currentframe==1)
 { _root.my_Dyn_Txt1._visible = true
  this.nextFrame()
 }
 else
 { _root.my_Dyn_Txt1._visible = false
  this.prevFrame()
 }
}

```
