fudge!
it's a timing issue. I was trying to process the XML before the damn
thing returned with the goods.
private function init():void // from creationComplete()
{
getQuestions( xmlLocation );
/*
moving the next two lines into the result handler
of the HTTPrequest fixes the problem.
I can't process something that hasn't arrived yet
*/
// lastIndex = questionaire.children().length()-1;
// first();
}
I should have remembered that from AJAX programming. At least I've
learned more about logging in AS.
many thanks Tracy and Bob
b