# Question about a dynamic value i have set

**URL:** <https://forum.kirupa.com/t/question-about-a-dynamic-value-i-have-set/215980>\
**Category:** flash\
**Created:** [February 12, 2007, 5:58pm UTC](https://forum.kirupa.com/t/question-about-a-dynamic-value-i-have-set/215980 "2007-02-12T17:58:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![philipz](https://avatars.discourse-cdn.com/v4/letter/p/bc79bd/32.png) [@philipz](https://forum.kirupa.com/u/philipz)\
**Post date:** [February 12, 2007, 5:58pm UTC](https://forum.kirupa.com/t/question-about-a-dynamic-value-i-have-set/215980/1 "2007-02-12T17:58:50Z")

</div>

Ok, I have a flashproject in where i have a dynamic text field given a variable name (var). The name of it is “_deadline_”

In the begining of the timeline i have defined that _deadline=0_  
Then on various places in the timeline i have added into an actionscript the line:

- deadline++\*

This all works fine and dandy, and the value showed increases with 1 each time (as i want it to).

Now to the problem:  
I also want a line to grow depending on the value of deadline. Think of it as a thermometer, which starts with just a tiny line, but as the value of deadline increases the line gets wider (longer).

Is this possible without massive coding? I am sort of a beginner so I cant write my own scripts yet, barly just pieces together things i find on forums and make them work.

Please help me out! You can e-mail me or reply here. Thank you!=)
