Hello,
I have a Container.swf that is responsible for loading in other Content.swfs. I defined a Container.as file as the document class for Container.swf, and created a few static methods that I want to have available for the Content.swfs. I figured that after a Content.swf is loaded, I could just reference those methods like so :
Container.myStaticMethod(“var1”, “var2”);
but I am getting a compile time error which I understand fine, but wasn’t expecting it, since it wasn’t thrown with AS2.
1120: Access of undefined property Ground
I also tried Stage.myStaticMethod(“var1”, “var2”); which yields pretty much the same result.
Do I need to import my class Container.as class in each of my content.swfs?
Thanks in advance