Issue during callback from VC++ 2017 to ActiveX embedded Adobe Flash control RRS feed

  • Question

  • In a dialog based application, a shockwave flash activex control ( say my_ctrl )has been embedded.  Using my_ctrl.put_Movie() a flash .swf file successfully launches as expected. But attempting to send an xml to the control using my_ctrl.CallFunction() throws an exception. However callback from flash to vc++ works normally. I am working on VS 2017 ( x64 v140 SDK8.1 in ML mode) and same problem persist in x86 as well. Please I need some advice here.

    my_ctrl.CallFunction( "<invoke name="foo" returntype="xml"><arguments><string>hello world</string></arguments></invoke>" ); 

    // flash code in as3
    import flash.events.*;
    import flash.external.ExternalInterface;
    flash.external.ExternalInterface.addCallback("foo", testFunction); 
    function testFunction(str:String):void

    • Edited by seccpur Friday, March 2, 2018 2:47 AM
    • Moved by Baron Bi Friday, March 16, 2018 7:26 AM Third-party library issue
    Thursday, March 1, 2018 10:45 AM

All replies