The bracket notation replaces the dot notation:

var token:AsyncToken = service[str] (); //remove the dot



 

Tracy Spratt,

Lariat Services, development services available

  _____  

From: [email protected] [mailto:[email protected]] On
Behalf Of claudiu ursica
Sent: Tuesday, December 15, 2009 6:31 AM
To: [email protected]
Subject: [SPAM] Re: [flexcoders] var token:AsyncToken = service.[str](); how
to get this working?

 

  

It is service.send() at least if your service is a HTTPService instance.
C

 

  _____  

From: MicC <[email protected]>
To: [email protected]
Sent: Tue, December 15, 2009 1:08:22 PM
Subject: [flexcoders] var token:AsyncToken = service.[str](); how to get
this working?

  

When used conventionally - var token:AsyncToken = 
service.Sel_ all_mgrs( ); - this is service.function, right?

var str:String = 'Sel_all_mgrs' ;
var token:AsyncToken = service.[str] ();
token.addResponder( this.responder) ;

What is the correct code to get the above working? TIA,

Mic.

 



Reply via email to