Originally Posted by absolutezero342
this goes back to my diagram...I know how to communicate between my doc class and other classes, but how does Class 1 talk directly to Class 2? if you can use "_root" to do it in this way, how? also, if you can do it this way, that means you have to import your doc class or "Controller" class into every class that needs interaction, is that correct?
thx again, just trying to gain understanding!
PS...as a follow-up, I've tried accessing an object of Class 2 instantiated in my doc class (Main) from Class 1 using every possible combination of:
root.obj
this.obj
root.parent.obj
parent.root.obj
and anything else I could think of...I keep getting:
ReferenceError: Error #1069: Property obj not found on Main and there is no default value.
I have a variable in Class 2 called "timeline" which is an alias for the document class' "this" and I have no problem using it except when trying to communicate to other objects!!! plz advise!