Reference label on stage

Hi,

I have a document class for my movie.

In the document class I say

label.text=“somestring”;

The label on the stage wont update with the value I pass it?

If i put the code on a frame instead of a document class it works.

So maybe I have to reference the stage somehow?

Any Ideas?