Flex Variable Scope


 

Flex Variable Scope

Scope of the variable defines the accessibility of the variable across the application.

Scope of the variable defines the accessibility of the variable across the application.
Scope of the variable defines the accessibility of the variable across the application. The global variable has global access to the application and local variable is restricted to the block of code only. The variable defined outside of the class or function is declared as global. Variables defined inside a function or class is assigned the scope of the function or class itself.

Ads