Как можно создать public массив, чтоб его можно было изменять из других классов?
класс с массивом

Код AS3:
package myclass
{
public class myglobal {
public static const ww =700;
public static const hh =700;
public var enemyCrafts:Array;
public function initArrays()
{
enemyCrafts = new Array(10);
}
public function addCraft(...)
{
enemyCrafts.push(...);
}
}
}
класс с изменением массива

Код AS3:
package {
import myclass.myglobal;
public class screen extends Sprite {
public function screen() {
myglobal.initArrays();
myglobal.addCraft(.....);
}
}
}
На что идет ответ:
1061: Call to a possibly undefined method initArrays through a reference with static type Class.
1061: Call to a possibly undefined method addCraft through a reference with static type Class.