Is the gateway property defined?

Other than that... from the code you have shown, I don't have a clue. ;-)

Mike

On Mon, Jun 9, 2008 at 9:39 AM, xaero <[EMAIL PROTECTED]> wrote:

>   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 flexcoders@yahoogroups.com <flexcoders%40yahoogroups.com>, "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
> >
>
>  
>



-- 
Teoti Graphix, LLC
http://www.teotigraphix.com

Teoti Graphix Blog
http://www.blog.teotigraphix.com

You can find more by solving the problem then by 'asking the question'.

Reply via email to