Error #1010 by retrieving data (AMFPHP)

Hello,
I’m trying to display data from my MySQL database with AMFPHP. That works fine and I see the text, but I still get an error:

TypeError: Error #1010: A term is undefined and has no properties.
at index_fla::chart_42/onResultaat()


function onResultaat(responds:Object):void {
        var t:Array = responds.serverInfo.initialData;
        for(var i:uint = 0; i < 5; i++)     {
                var q:Charttext = new Charttext();
                addChild(q);
                q.chart_txt.text = t*[1];
        }
}

If I replace it with this, I don’t get the error. I hope someone can help me.


q.chart_txt.text ="Test";

Thanks