Sorry for simple question, but...
I have DocumentClass which has public variable kTemp
:
public var kTemp:Number = 0;
I Also have Movie Clip which has some internal timeline code with this fragment:
var counter1:int = 0; counter1 = kTemp;
Strangely enough, but the last line gives an error:
1120: Access of undefined property kTemp. counter1 = kTemp
What am I doing wrong?
I though that global variables are seen from everywhere.
What is the simplest method to get value of public variable inside movie clip?