You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2018/12/18 14:17:14 UTC

[GitHub] olafkrueger commented on issue #354: Httpservice is not working

olafkrueger commented on issue #354: Httpservice is not working
URL: https://github.com/apache/royale-asjs/issues/354#issuecomment-448235182
 
 
   > but httpservice is not working...
   
   Just a shoot in the dark:
   
   You set `f_LoadConfigurationRH` as event listener:
   `httpSrv.addEventListener(ResultEvent.RESULT,f_LoadConfigurationRH);`
   
   but you implemented a static function as event handler:
   `private static function f_LoadConfigurationRH(event:ResultEvent):void`
   
   Shouldn't it be?: 
   `httpSrv.addEventListener(ResultEvent.RESULT, MY_CLASS.f_LoadConfigurationRH);`
   
   or 
   `private function f_LoadConfigurationRH(event:ResultEvent):void`
   
   Maybe this helps, but I could be totally wrong of course ... ;-)

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services