PDA

View Full Version : Variable Scope


Saint48198
06-20-2008, 01:13 AM
I need to use a variable value that was set in an AS file in Action Script layer in my FLA File. Is this possible? I've tried to import the AS file in the layer and call the variable using the Class.Variable Name.

bloodstyle
06-21-2008, 05:30 AM
To do that you'll either have to make the variable public, or create getters/setters for it. Then it should work ^^