Hi,

  I am sending a HTTPSERVICE request by clicking a button when I get
the response I want to update the data into my datagrid. When I
directly give in MXML code like dataprovider =
{myservice.lastresult.mydata} its working perfectly. But when I do it
in the as3.0 like call a method in the result of myservice.

private populateData():void{
mydatagrid.dataprovider = myservice.lastresult.mydata;
}

Its not at all working first time, its thru an error like Null object
reference. ie mydatagrid is not initialised. but wen i send the
service second time I am getting the result populated... can anyone
tell me wat may the problem????????????????????????

Thanks in Advance,
Bala

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to