Function...errr help please with get in Actionscript3

I have this setup on 2 classes where I am trying to get an array of Data back from a function call in class A.
Could anyone help me with this please? best regards FJW

package
{
public class A
{
private var thefront:TheFront;
private var theData:Array;
public function A()
{
}
public function needData():void
{
thefront = new TheFront();
theFront.test();

}
}

package
{

public class TheFront 
{
    private var bArray:Array;
    
    public function TheFront()
    {
        trace("TheFront called");
                        
        bArray = new Array("A","B","C","D","E","F");
                            
    }
        
        public function set test():Array
        {
        trace("Testcalled");
        return (bArray);
        }
        
}//End Cons

}//End Package