LdWidgetUid flashCallback

From WidgetAvenue Wiki

Jump to: navigation, search

Summary

This functions triggers the execution of an ActionScript function inside a Flash widget.

Syntax

ldWidgetUid_flashCallback(functionName, string)

where

  • functionName is a string with the name of the ActionScript function to trigger
  • string is a text argument for this function

Note

In order to use this function, you need to allow all domains and declare the callBack function in ActionScript:

flash.system.Security.allowDomain("*");
ExternalInterface.addCallback("ldWidgetCallback", [Name of your AS3 function]);
Personal tools