# Variable trouble

**URL:** <https://forum.kirupa.com/t/variable-trouble/262703>\
**Category:** Uncategorized\
**Created:** [June 9, 2008, 10:35am UTC](https://forum.kirupa.com/t/variable-trouble/262703 "2008-06-09T10:35:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![poolstar\_uk](https://avatars.discourse-cdn.com/v4/letter/p/67e7ee/32.png) [@poolstar\_uk](https://forum.kirupa.com/u/poolstar_uk)\
**Post date:** [June 9, 2008, 10:35am UTC](https://forum.kirupa.com/t/variable-trouble/262703/1 "2008-06-09T10:35:15Z")

</div>

Hi, I am trying to pass a string into a dynamic text box using FlashVars. If I create a new layer on the root timeline then it works fine.

However, the variable I need to reference is stored within a graphic (which could be converted if needed).

Do I need to reference some kind of path to the variable? I have looked around and it seems that /movieclip:varname should work but Flash throws an error.

If anybody could point me in the right direction it would be greatly appreciated.

Many Thanks,

Mark
