API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

IASEXTENSION_INITIALIZE()

Brew Release
Brew MP 1.0.2
See Also
IASEngine IASArgs IASExtensions_HandleEvent()
Description
This method is called to initialize an instance of an ActionScript extension. The method is called when the ActionScript virtual machine creates an extension object.
Interface
Prototype
  •    AEEResult IASExtension_Initialize(
          IASExtension* _pif, 
          IASEngine* eng,
          IASArgs* args,
          boolean *wantEvents
       );
    
Return
  • AEE_SUCCESS on success. Appropriate error code otherwise.
Side Effect
  • None.
Comments
The IASEngine object passed in this method may be AddRef'ed and stored by the extension for use at a later time. The passed IASArgs object must not be stored or used outside the scope of this method.