Re: [Flashcoders] webservice delay

2006-12-07 Thread learner

Sorry for now providing the soruce code
Here it is:

The animation shows up on the second call to webservice
but first call it directlly shows up the result..

public function searchdaigrams()
{
   var wsConn_search = new WebServiceConnector();
wsConn_search.WSDLURL = _global.serviceURL
wsConn_search.operation = ChemicalSearch;


  mainScreen.search._visible = true;
  // this is the animation movieClip which i want to play  but
not
 //getting displayed

 var thisref = this;
 var searchres:Function = function (evt:Object) {

  _root.container.search._visible = false;
  // hiding the  animation


  thisref.feedsearchResult(evt.target.results)
 };


 wsConn_search.addEventListener(result, searchres);

}


Jason,
Thanks for replying, but I had already tried ur suggestion and checked it ..
I have tried with onStatus handler also , but I did not find it usefull.

Regards
PS

On 12/6/06, Merrill, Jason [EMAIL PROTECTED] wrote:


i tried ur suggestion but that did not work !

You're not providing any source code to back up your claim or to give
the intended impact of your exclaimation point.

How are you starting the webservice?  How are you telling the animation
to display?  How are you telling it to hide?   I use the events of the
Webservice component to tell animations to show and hide while the
webservice runs without any problem, so I am doubtful the problem is
with my suggestion.

Jason Merrill
Bank of America
Learning  Organizational Effectiveness






___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] webservice delay

2006-12-07 Thread learner

please note that i have tiggered  the webservice call with parameters later
in the same  function as:

wsConn_search.params =[ search parameters ]
wsConn_search.trigger();

// sorry for not mentioning in the previos mail

Regards
PS

On 12/7/06, learner [EMAIL PROTECTED] wrote:


Sorry for now providing the soruce code
Here it is:

The animation shows up on the second call to webservice
but first call it directlly shows up the result..

public function searchdaigrams()
 {
var wsConn_search = new WebServiceConnector();
 wsConn_search.WSDLURL = _global.serviceURL
 wsConn_search.operation = ChemicalSearch;


   mainScreen.search._visible = true;
   // this is the animation movieClip which i want to play
but not
  //getting displayed

  var thisref = this;
  var searchres:Function = function (evt:Object) {

   _root.container.search._visible = false;
   // hiding the  animation


   thisref.feedsearchResult(evt.target.results)
  };


  wsConn_search.addEventListener(result, searchres);

}


 Jason,
Thanks for replying, but I had already tried ur suggestion and checked it
..
I have tried with onStatus handler also , but I did not find it usefull.

Regards
PS

On 12/6/06, Merrill, Jason [EMAIL PROTECTED] wrote:

 i tried ur suggestion but that did not work !

 You're not providing any source code to back up your claim or to give
 the intended impact of your exclaimation point.

 How are you starting the webservice?  How are you telling the animation
 to display?  How are you telling it to hide?   I use the events of the
 Webservice component to tell animations to show and hide while the
 webservice runs without any problem, so I am doubtful the problem is
 with my suggestion.

 Jason Merrill
 Bank of America
 Learning  Organizational Effectiveness






 ___
 Flashcoders@chattyfig.figleaf.com
 To change your subscription options or search the archive:
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 Brought to you by Fig Leaf Software
 Premier Authorized Adobe Consulting and Training
 http://www.figleaf.com
 http://training.figleaf.com




___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] webservice delay

2006-12-06 Thread Merrill, Jason
See Webservice.status in the help docs.  You can also show the animation
when the call is initiated, and then use WebService.onResult to hide the
animation.

Jason Merrill
Bank of America 
Learning  Organizational Effectiveness
 
 
 
 
 
 

-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf 
Of learner
Sent: Wednesday, December 06, 2006 4:20 AM
To: Flashcoders mailing list
Subject: [Flashcoders] webservice delay

Hello all,

Is there any event which tells you that webservice call is in 
progress..
I want to show the processing animation in the time gap 
bwteen a call to webservice and the result from the webservice

Regards
PS
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training 
http://www.figleaf.com http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


Re: [Flashcoders] webservice delay

2006-12-06 Thread learner

i tried ur suggestion but that did not work !

animation shows up sometimes and sometimes does not


On 12/6/06, Merrill, Jason [EMAIL PROTECTED] wrote:


See Webservice.status in the help docs.  You can also show the animation
when the call is initiated, and then use WebService.onResult to hide the
animation.

Jason Merrill
Bank of America
Learning  Organizational Effectiveness







-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of learner
Sent: Wednesday, December 06, 2006 4:20 AM
To: Flashcoders mailing list
Subject: [Flashcoders] webservice delay

Hello all,

Is there any event which tells you that webservice call is in
progress..
I want to show the processing animation in the time gap
bwteen a call to webservice and the result from the webservice

Regards
PS
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com http://training.figleaf.com

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] webservice delay

2006-12-06 Thread Merrill, Jason
i tried ur suggestion but that did not work !

You're not providing any source code to back up your claim or to give
the intended impact of your exclaimation point.

How are you starting the webservice?  How are you telling the animation
to display?  How are you telling it to hide?   I use the events of the
Webservice component to tell animations to show and hide while the
webservice runs without any problem, so I am doubtful the problem is
with my suggestion. 

Jason Merrill
Bank of America 
Learning  Organizational Effectiveness
 
 
 
 
 
 
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


RE: [Flashcoders] webservice delay

2006-12-06 Thread Steven Sacks | BLITZ
 i tried ur suggestion but that did not work !

RTFM !
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com