Skip to main content
Participating Frequently
June 15, 2012
Question

he extension context does not have a method with the name

  • June 15, 2012
  • 12 replies
  • 6596 views

I'm using the ANE and getting this error when invoking a method: 'The extension context does not have a method with the name methodname'

What is possibly wrong?

Thanks

This topic has been closed for replies.

12 replies

June 15, 2012

Hi,

Its possibly because you have not mapped the name of the function being called correctly in your native code. Please make sure that the method being called from the AS code(swc) matches(in case also) with the method provided in the native code, in the context initializer function.

jappy2028Author
Participating Frequently
June 18, 2012

I checked and double checked but I am still getting

Error #3500: The extension context does not have a method with the name helloWorld

June 18, 2012

Hi,

Can you share your code snippets here? Your extension.xml (part where extensions tag is used), native code(context initializer function and the implementation of the function helloWorld), AS code(where the Extension context is created and called)