I have a global object in a few frames. This object has some behaviors.

When I change a behavior in one instance of the object, the changes are remembered only in the frame I was working on - as if the object weren't global. Same happens with graphics too.

How can I make it so that the behaviors get updated in all frames and the object really behaves like global?