This error popped up wen trying to use ExternalInterface to call an ActionScript function from Delphi. e.g.:
Code: Select all
flashPlayer.CallFunction('<invoke name="asFuncton" returntype="xml"><arguments><string>arg1</string></arguments></invoke>');
The error pops up when playing your app in the Delphi IDE. If you run the exe on its own (outside of Delphi), no dialogue comes up.
Solution!
This problem occurs when you try to call a function that doesn't exist (or has not been enabled as a callback) within AS. In my cae it was a typo:
Code: Select all
flashPlayer.CallFunction('<invoke name="asFunction" returntype="xml"><arguments><string>arg1</string></arguments></invoke>');