How about calling the service with the function callLater
--- In [email protected], "Ben" <[EMAIL PROTECTED]> wrote:
>
> In my Flex Application MXML file I call a function called init() on
> the creationComplete event. creationComplete="init();" In the init()
> function a WebService's wsdl property is set to the URL for my CFC.
> After the property is set I call a function on my service
> (service.getBlah();) but the request is never sent. However, if I set
> the WebService wsdl on the WebService MXML tag before I compile my
> program, the request is sent.
>
> I'm not sure what could be the problem here. It seems that there
> might be some time after the wsdl is set in which requests cannot be
sent.
>
> Does anyone know? Thanks in advance!
>