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

Developer

API Reference

IASOBJECT_CALLMETHOD()

Brew Release
Brew MP 1.0.2
See Also
IASExtension_CallMethod() IASExtension_Update() IASArgs interface
Description
This method may be called by an ActionScript extension to call a method on an ActionScript object. The method will be called asychronously.
Interface
Prototype
  •    AEEResult IASObject_CallMethod(
          IASObject * _pif, 
          const char * method, 
          IASArgs * args
       );
    
Return
  • AEE_SUCCESS on success. Appropriate error code otherwise.
Side Effect
  • The object method being called may result in various side-effects.
Comments
This method does not call the object's method synchronously, but instead schedules the method to be called after the calling function returns control back to the ActionScript VM. This means, for example, that if a method is called that results in properties being set on the object, those properties will not be set until the extension's CallMethod or Update method have returned and the ActionScript VM has a chance to execute.