Run Flash in WPF

前端 未结 2 1724
灰色年华
灰色年华 2021-01-18 12:31

i am trying to run a .swf file in my WPF application, i have created a html page and in that i have referenced my .swf file using

2条回答
  •  无人共我
    2021-01-18 12:58

    WebBrowser control can support flash directly . If you don't need to present anything in HTML then you can directly provide the path to the flash file .

    myWebBrowser.Source  = "C:\Test\MyClock.swf"
    

    However you will still get the IE warning message.

提交回复
热议问题