calling actionScript 2 function from C# help!
- by phancuong87
I want calling actionScript 2.0 function from c# , I using ExternalInterface.addCallback;
In flash:
ExternalInterface.addCallback("test", function (text : String) : Void
{
//code
});
in C#: I using shockwave flash object
player.CallFunction("" + "myString" + "");
but error: Error HRESULT E_FAIL has been returned from a call to a COM component. in C#
I using cs4 and VS2008, please help me!