Searisen wrote:I'm using...Code: Select all
AnsiString XML = "<point><x>25</x><y>-50</y></point>";
FlashPlayerControl1->SetVariable("XML_String",XML);
FlashPlayerControl1->CallFunction("BorlandDoCommand");
If this is the right method, I'm getting unable to find FLASHPLAYERCONTROL.PAS
You should add the path to \FlashPlayerControl\Builder5\ dir to Project Options -> Directories/Conditionals -> Include path.
Also, this call is incorrect:
Code: Select all
FlashPlayerControl1->CallFunction("BorlandDoCommand");
You should write something like that:
Code: Select all
WideString Response = FlashPlayerControl1->CallFunction("<invoke name="CallMeFromApplication" returntype="xml"><arguments><string>Some text for TFlashPlayerControl</string></arguments></invoke>");