Hey,
I'm new to Flex.I have a problem with HTTPService.
In my application am adding and getting tasks to/from
database by using below two lines code.
add.send(data);
getTasks.send();
And am assging result data to datagrid dynamically.when i
call getTasks.send() method immedaitely some times it's giving result
and
sometimes not.That's why am using timer function to call
that line.But in timer am using 2 seconds time.How to replace that 2
seconds time
as httpservice response time.
public function ShortTimer():void {
// creates a new five-second Timer
var minuteTimer:Timer = new Timer(2000,1);
minuteTimer.addEventListener(TimerEvent.TIMER_COMPLETE,
onTimerComplete);
// starts the timer ticking
minuteTimer.start();
}
public function onTimerComplete(event:TimerEvent):void {
getTasks.send();
}
Can u tel me "How to get the HTTPService Request time(while
sending the request to Server)
or Response time(while getting the data from the server)".My
communication will not be best please dont mind.
Thanks in advance,
Srinivas.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---