# Variable undefined

**URL:** <https://forum.kirupa.com/t/variable-undefined/39972>\
**Category:** Uncategorized\
**Created:** [January 13, 2004, 10:19am UTC](https://forum.kirupa.com/t/variable-undefined/39972 "2004-01-13T10:19:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rathod\_bina](https://avatars.discourse-cdn.com/v4/letter/r/ce73a5/32.png) [@rathod\_bina](https://forum.kirupa.com/u/rathod_bina)\
**Post date:** [January 13, 2004, 10:19am UTC](https://forum.kirupa.com/t/variable-undefined/39972/1 "2004-01-13T10:19:28Z")

</div>

we have this variable from the internet, val(0), in a dynamic text field we can see a digit from this variable. but when we use this variable in actionscript and test it with trace, the variable shows as undefined.

how can we make this work without it coming up as undefined??
