Is it possible to access variables or functions belonging to the parent swf from child swf, which are not assigned to _root, withouth changing code of the parent swf? For example in parent swf there is not-root variable called 'x' in 'SomeClass' class. Now I'm loading second swf through 'loadMovie' function and I want to print value of this variable in child swf. I can't just write 'trace(_root.SomeClass.x)' because this is not _root variable.
Accessing a normal variable or function from child swf
in Loading (Flash)
Posted
Is it possible to access variables or functions belonging to the parent swf from child swf, which are not assigned to _root, withouth changing code of the parent swf? For example in parent swf there is not-root variable called 'x' in 'SomeClass' class. Now I'm loading second swf through 'loadMovie' function and I want to print value of this variable in child swf. I can't just write 'trace(_root.SomeClass.x)' because this is not _root variable.