AS3 Document class and package classes tipas asked


I’m learning AS3 for some weeks now and I’m using a single document class actionscript to pilot my flash file.

I see in different components or example files that sometimes a project uses differents classes (one class that handles the backgrounds, one class for navigation)…

My question : what’s the good use of multiple classes and how can I make them communicate if I need the value of one function from another class file ??

Thank you !!