# How i can access instance of class variable dynamically as text..? +example

**URL:** <https://forum.kirupa.com/t/how-i-can-access-instance-of-class-variable-dynamically-as-text-example/326710>\
**Category:** Uncategorized\
**Created:** [January 6, 2012, 2:48pm UTC](https://forum.kirupa.com/t/how-i-can-access-instance-of-class-variable-dynamically-as-text-example/326710 "2012-01-06T14:48:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![oc\_o](https://avatars.discourse-cdn.com/v4/letter/o/5f9b8f/32.png) [@oc\_o](https://forum.kirupa.com/u/oc_o)\
**Post date:** [January 6, 2012, 2:48pm UTC](https://forum.kirupa.com/t/how-i-can-access-instance-of-class-variable-dynamically-as-text-example/326710/1 "2012-01-06T14:48:03Z")

</div>

i have instance of class on my main movie :  
\_root.mc.HelloClass.variable1.fullurl  
so my HelloClass exteds movieclip and has var named Variable1 that also class with var fullurl

i want to access fullurl string value dynamically , somthing like:  
\_root.[“mc”].[“HelloClass”].[“variable1”].[“fullurl”]  
so i can access every var from external swf

thank you !!
