Warning:
Id 3604: You should now use one of the strongly typed methods for  
returning a service.
                        
What to Type it as? I thought remoteObject, but the compiler complains  
with:

Id 1118: Implicit coercion of a value with static type  
mx.rpc:AbstractService to a possibly unrelated type

var service = __locator.getService("roService");


roService refers to a RemoteObject. And __locator is a ServiceLocator

And when i change it to:

var service: AbstractService = __locator.getService("roService");

I still get the same warning.

The code works, but I just want to be sure t do it all right.
                        

d


Reply via email to