# How do I access a variable that is on stage?

**URL:** <https://forum.kirupa.com/t/how-do-i-access-a-variable-that-is-on-stage/286295>\
**Category:** flash\
**Created:** [April 13, 2009, 1:48pm UTC](https://forum.kirupa.com/t/how-do-i-access-a-variable-that-is-on-stage/286295 "2009-04-13T13:48:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IanCremona](https://avatars.discourse-cdn.com/v4/letter/i/65b543/32.png) [@IanCremona](https://forum.kirupa.com/u/IanCremona)\
**Post date:** [April 13, 2009, 1:48pm UTC](https://forum.kirupa.com/t/how-do-i-access-a-variable-that-is-on-stage/286295/1 "2009-04-13T13:48:23Z")

</div>

Here is an example: [http://spicytest.com/Marquee/ssp\_demo\_g … 3\_TEST.swf](http://spicytest.com/Marquee/ssp_demo_general_as3_TEST.swf)

I am try to get the gray number at the bottom to be loaded into the swf code:

this.jackpotName1.line2.text = promotion.slide[GRAYNUMBER].JackpotName1.text()
