Skip to main content
Inspiring
July 22, 2015
Answered

Issues With ANE Contexts Crossing

  • July 22, 2015
  • 1 reply
  • 294 views

Hello,

I have two internally developed ANEs.  Occasionally one of the ANE's will "intercept" events from the other ANE.  I have ANE specific logging in each module.  I will see messages from one ANE in the logging of the other.  When this occurs, the ANE that has it's events intercepted does not work correctly.

The ANE's were compiled using AIR SDK 18.0.0.143.  The app is developed in Flash Builder 4.7 also using AIR SDK 18.0.0.143.

Has anyone seen this behaviour before?  Any suggestions how to prevent this?  The inconsistency is troublesome.

Thanks

Chris

Edit: I updated to AIR SDK 18.0.0.180 recompiled both ANEs and the app, this issue still occurs.

This topic has been closed for replies.
Correct answer iDream_Chris

The issue was the variable used to hold the context in each ANE was named the same.  I suppose it cannot be stressed enough that any globally scoped symbol should be as unique as possible.  Any naming conflicts can cause issues like the one I experience.

1 reply

iDream_ChrisAuthorCorrect answer
Inspiring
August 17, 2015

The issue was the variable used to hold the context in each ANE was named the same.  I suppose it cannot be stressed enough that any globally scoped symbol should be as unique as possible.  Any naming conflicts can cause issues like the one I experience.