# How to reach the maintimeline?

**URL:** https://forum.kirupa.com/t/how-to-reach-the-maintimeline/254853
**Category:** flash
**Created:** [March 16, 2008, 10:12am UTC](https://forum.kirupa.com/t/how-to-reach-the-maintimeline/254853 "2008-03-16T10:12:20Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![peterco](https://avatars.discourse-cdn.com/v4/letter/p/7feea3/32.png) [@peterco](https://forum.kirupa.com/u/peterco)
#### Post date: [March 16, 2008, 10:12am UTC](https://forum.kirupa.com/t/how-to-reach-the-maintimeline/254853/1 "2008-03-16T10:12:20Z")

</div>

Hi

I have a project where I have attached i class to a movieclip I want to send a variable from the class to the maintimeline. I have done this in a project whith a document class then I used a function in the maintimeline and caled this from my class like: this.myfunctionintimeline(thevirabletosend);  
but how do a acheaved the same in this case?
