# Classes communicating with main timeline

**URL:** https://forum.kirupa.com/t/classes-communicating-with-main-timeline/302913
**Category:** Uncategorized
**Created:** [January 10, 2010, 12:17am UTC](https://forum.kirupa.com/t/classes-communicating-with-main-timeline/302913 "2010-01-10T00:17:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![almondo](https://avatars.discourse-cdn.com/v4/letter/a/8baadc/32.png) [@almondo](https://forum.kirupa.com/u/almondo)
#### Post date: [January 10, 2010, 12:17am UTC](https://forum.kirupa.com/t/classes-communicating-with-main-timeline/302913/1 "2010-01-10T00:17:59Z")

</div>

Hi…  
I’ve made a custom class that displays a panorama within my panorama.swf file. I’ve loaded my panorama.swf into a mc within my main.swf.  
all this works great… what id like to do though, is to create a variable within my main.swf that i can relate to within my class…

Does anyone know how to refer to the main timeline from a class within a swf nested in a mc??

thanks everyone
