# How to reed variables on main timeline from mc loaded from lib by as3

**URL:** <https://forum.kirupa.com/t/how-to-reed-variables-on-main-timeline-from-mc-loaded-from-lib-by-as3/231586>\
**Category:** Uncategorized\
**Created:** [July 5, 2007, 10:50pm UTC](https://forum.kirupa.com/t/how-to-reed-variables-on-main-timeline-from-mc-loaded-from-lib-by-as3/231586 "2007-07-05T22:50:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onlymade](https://avatars.discourse-cdn.com/v4/letter/o/9de0a6/32.png) [@onlymade](https://forum.kirupa.com/u/onlymade)\
**Post date:** [July 5, 2007, 10:50pm UTC](https://forum.kirupa.com/t/how-to-reed-variables-on-main-timeline-from-mc-loaded-from-lib-by-as3/231586/1 "2007-07-05T22:50:33Z")

</div>

😱  
“tble” button load mc “tableinfmc” from library  
tble.addEventListener(MouseEvent.CLICK,tble\_click)  
function tble\_click(event:MouseEvent):void{  
var tblinf:MovieClip=new tableinfmc()  
addChild(tblinf)  
}  
but the mc instance cant reed any variables on the main time line
