a. 健康保险,即主要班级
//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??
• 如何使用AS3中的全球变量。