Tutorials usually don\'t deal with scope in Actionscript. Can you point me to some documentation and/or explain what should I know about it. I want to avoid problems arising
These should help.
Function scope:
http://livedocs.adobe.com/flex/3/html/help.html?content=03_Language_and_Syntax_21.html
Packaging and namespace:
http://livedocs.adobe.com/flex/3/html/03_Language_and_Syntax_04.html#119303