# How to access function on Maintimeline in AS3

**URL:** https://forum.kirupa.com/t/how-to-access-function-on-maintimeline-in-as3/280566
**Category:** flash
**Created:** [January 28, 2009, 11:18pm UTC](https://forum.kirupa.com/t/how-to-access-function-on-maintimeline-in-as3/280566 "2009-01-28T23:18:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![adnan794](https://avatars.discourse-cdn.com/v4/letter/a/8edcca/32.png) [@adnan794](https://forum.kirupa.com/u/adnan794)
#### Post date: [January 28, 2009, 11:18pm UTC](https://forum.kirupa.com/t/how-to-access-function-on-maintimeline-in-as3/280566/1 "2009-01-28T23:18:02Z")

</div>

Hi  
I want to define a function on the maintimline and then from inside a movieclip I want to call that function.

In AS2 simply doing this could achieve the resuly \_root.callFunction() but this is not possible in AS3 any ideas  
Thanks
