Actionscript 3.0: Scope
问题 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 from certain classes are not visible at certain places. 回答1: 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 回答2: You're a bit vague, but hopefully I