flex app and long running sqls

Hi -
we are using flex app and connecting to a database where the queries might
take some time around 3 mins max) to finish up . But our flex session keep
on saying "Loading" .
Not sure where the issue is .
do we need to increase the time somewhere so that once the query finishes it
would communicate the result back to the application? If so , where all we
need to set up that ?
any help would be greatly appreciated.
--
Sent from: http://apache-flex-users.2333346.n4.nabble.com/