So you have started writing an AIR Native Extension (ANE). You've got a pretty good idea of how AIR loads and unloads it from memory and know that you need an Extension Context to tell AIR about what functionality your native code exposes. The infographic in this article will show you the mechanism of making native function calls from ActionScript. Read More
How to send events from Java to ActionScript
When we looked at how native code and ActionScript communicate in a native extension, we saw that native code is mostly called and talked to and has a limited number of ways to respond or send data back. These are:
- Returning a FREResult object from a call to FREFunction.
- Using output parameters in a FREFunction.
- Sending an event to ActionScript.
In this article we are focusing on number 3: how events are sent from Java to ActionScript. Read More
Extension Initializer and Finalizer in Java
Do you remember when we talked about what an Extension Initializer and Finalizer are and what happens if they don't have unique names? We also saw what they look like in C. Today we are contrasting that with their Java versions. Read More