Any sample code to do so ? I can only see example for passing simple variable.
Let's say I have a movieClip M1 and a movieClip M2 loaded by M1. Then M2 will create an instance of a class c that will be passed to MovieClip M1 by calling a predefined method.
I'm totally new to actionscript so I'd need to know the exact syntax and event to do so.