I add an Alert.show, and delete the CALL function, like this:

var atClass:Object = new Object();
atClass.atcls = ComboBox(event.target).selectedItem.data;
Alert.show(atClass["atcls"],"ALERT");
//gateway.call("cys.getStudents", new Responder(onResult, onFault),
atClass); //line 51

It can show the data of the item I selected!

--- In [email protected], "Michael Schmalle"
<[EMAIL PROTECTED]> wrote:
>
> Hi,
> 
> From the look if it
> 
> ;ComboBox(event.target).selectedItem
> 
> seems to be where the null pointer is. Make sure you actually have a
> selectedItem in the list.
> 
> I have actually done this myself when testing and actually forgot to
> 'select' an item before a service call.
> 
> Mike
> 


Reply via email to