HI i have a main class
//main.as
package {
public class main {
public var testGlobal:string = "testValue";
}
}
//pop.as
package {
public class pop {
function pop():void {
trace("testGloabl from main.as" + testGlobal);
}
}
}
How can i get the testGlobal value on pop.as width out using a main class Object. Is there any method of Global variables??
How to use global variables in AS3 .