# Help: Accessing main timeline var from SWF loaded in a UILoader

**URL:** https://forum.kirupa.com/t/help-accessing-main-timeline-var-from-swf-loaded-in-a-uiloader/271752
**Category:** flash
**Created:** [September 27, 2008, 9:20pm UTC](https://forum.kirupa.com/t/help-accessing-main-timeline-var-from-swf-loaded-in-a-uiloader/271752 "2008-09-27T21:20:40Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Qutaiba](https://avatars.discourse-cdn.com/v4/letter/q/b38774/32.png) [@Qutaiba](https://forum.kirupa.com/u/Qutaiba)
#### Post date: [September 27, 2008, 9:20pm UTC](https://forum.kirupa.com/t/help-accessing-main-timeline-var-from-swf-loaded-in-a-uiloader/271752/1 "2008-09-27T21:20:40Z")

</div>

Greetings enlightened ones

Here’s my problem:  
I have a main swf movie in which a var is defined on its main timeline. I have a UILoader on that main timeline which loads an other SWF.

Here’ what I need to do: How can I let the loaded SWF in the UILoader access that variable on the main timeline of the main swf?

Please help
