Run Flash in WPF

前端 未结 2 1720
灰色年华
灰色年华 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:54

    1. I have a flash based clock as a .swf file on my C:\Test\MyClock.swf

    2. I have a htm file at C:\Test\MyHtml.htm

        
        
      
    3. I have web browser control as below...

      
        
          
        
                 
      
    4. On running the app, I see the webbrowser control giving warning as "To help protect your security, Internet Explorer has restricted this file from showing active content that could access your computer. Click here for options."

    5. I accept the warning by right click and the left click "Allow Blocked Content". A confirmation popup appears to which I say Yes.

    6. I see the Flash based clock.

提交回复
热议问题