C# - How to PostMessage to a flash window embedded in a WebBrowser?

后端 未结 4 948
误落风尘
误落风尘 2020-12-18 09:20

I would like to know if there was any way to lock onto a Flash window and post a message to it? Another person here had the answer to it, his name is Spencer K. His question

4条回答
  •  Happy的楠姐
    2020-12-18 09:38

    for calling a function in flash object u can use this code

     swfobject.CallFunction(
                   "" +
                   " " yourvalue "  ");
    

    for more information follow this link:communicate-betwen-c-and-an-embeded-flash-application

    i try it for a flash object in my form application and it work,but i did not use it for webbrowser

提交回复
热议问题