2
我想将我的主类中的构造函数的值传递给另一个类。Actionscript 3.0安装程序 - Getter
主类:
public function Main() {
Snap.locationX = 350;
}
另一类:
public function get locationX():Number{
return _value;
}
public function set locationX(x:Number):void{
_value = x;
}
它返回1061: Call to a possibly undefined method locationX through a reference with static type Class.
我在做什么错?
感谢。你不会相信我有多少次被实例方法所捕获。干杯 – 2009-07-24 16:52:38