# Dynamic text (counter) action

**URL:** <https://forum.kirupa.com/t/dynamic-text-counter-action/310843>\
**Category:** Uncategorized\
**Created:** [June 21, 2010, 8:33am UTC](https://forum.kirupa.com/t/dynamic-text-counter-action/310843 "2010-06-21T08:33:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aleksandar28](https://avatars.discourse-cdn.com/v4/letter/a/a698b9/32.png) [@aleksandar28](https://forum.kirupa.com/u/aleksandar28)\
**Post date:** [June 21, 2010, 8:33am UTC](https://forum.kirupa.com/t/dynamic-text-counter-action/310843/1 "2010-06-21T08:33:25Z")

</div>

how to make if my counter counts to 3, to go on selected frame?!

```auto
if (badScoreText.text == String("3")) {
    gotoAndPlay(1);
    }

```

i’ve tryed this but no results -.-’

One more thing, how to calculate score from number of mistakes(badScoreNumb.text),time left(timeLeftLvl1.text) ??

any help?!  
Thanks!  
Aleksandar
