Accessing stage items while main class inheritance

I try to access stage items (made in flash graphics editor) through inherited class. But I can’t

I’ve made it this way

  1. I made clip and it’s main class (eg. timeline.as) - at this point it works
  2. I put code from main class to another class (eg. timeline_template.as) and in main class (timeline.as) I inherit it by :

public dynamic class timeline extends timeline_template {

  1. I added stage items declarations in timeline_template.as because without that any code couldn’t reach target an I got

1120: Access of undefined property xxx

error on each item

after these steps whole clip works but items on stage ( buttons, etc. ) are not affected by code. That’s logical because code references to properties declared in timeline_template but not in timeline.fla. But how to get around that - I need several usage of timeline_template and I would like to avoid code redundancy