I have a public class that defines a method as: public function getData( ):String { return "mData"; }
In an mxml file, I've imported that package and attempt to call ( _nav = getData(); ) but get '1061: Call to a possibly undefined method getData through a reference with static type Class.' I've tried fully qualifying the object (_nav = com.myObject.getData(); ) with the same result. Obviously I'm missing something very, very basic. thx --steve...