OOP sending info from one class to another

Hello :bu:

I have backdoor ways of getting info from other classes, but they seem to be far too long. So I am trying to do something different… Imagine two entirely separate classes. The classes only extend MovieClip, and don’t know about one another. What is the best way for them to know of eachother, without extending one another.

I thought it was interfaces, so I made an interface, and tried to send information from classA to classB within the interface. So, I had classA set the implemented interface variable to “21” and was trying to get that information on from classB, by implementing the same interface, and rather than setting, classB is getting. It didn’t work. Where am I going wrong? Do I not need to use an interface?

Any help is so great! :poisoneye: ty