# \[AS 2.0 CS3\] Storing global variables

**URL:** <https://forum.kirupa.com/t/as-2-0-cs3-storing-global-variables/289483>\
**Category:** flash\
**Created:** [May 31, 2009, 11:45am UTC](https://forum.kirupa.com/t/as-2-0-cs3-storing-global-variables/289483 "2009-05-31T11:45:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Drkovorkian](https://avatars.discourse-cdn.com/v4/letter/d/6a8cbe/32.png) [@Drkovorkian](https://forum.kirupa.com/u/Drkovorkian)\
**Post date:** [May 31, 2009, 11:45am UTC](https://forum.kirupa.com/t/as-2-0-cs3-storing-global-variables/289483/1 "2009-05-31T11:45:51Z")

</div>

Hi friendly flash heads!

So heres my problem. I have MC timelines, with script and variables inside them, and i need to access these variables in the main timeline, or from other MC timelines, how do you do this. I guess i baisically need to store the variables somewhere they are globally accessable, but i don’t know how, any ideas?

I realise that i probably havn’t followed best practices for coding up to here and that really it would be best if i didn’t need to do this at all… buuuuut any ideas [grin].

Cheers Drk
