# Acces variables

**URL:** <https://forum.kirupa.com/t/acces-variables/166130>\
**Category:** flash\
**Created:** [October 17, 2005, 9:53am UTC](https://forum.kirupa.com/t/acces-variables/166130 "2005-10-17T09:53:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![andreiu](https://avatars.discourse-cdn.com/v4/letter/a/9de053/32.png) [@andreiu](https://forum.kirupa.com/u/andreiu)\
**Post date:** [October 17, 2005, 9:53am UTC](https://forum.kirupa.com/t/acces-variables/166130/1 "2005-10-17T09:53:31Z")

</div>

Hello

I have 3 variables textRo,textEn,textRu and another variable “lang” that can take the values Ro,En,Ru. Is there any method in Action Script that i can refer to the values of textRo or textEn or textRu by using the string “text” and value of “lang”???

Thx
