Route Flash Event to WPF Code
-
Hi We have a WPF application which runs on kiosk. On idle time (when no customer at kiosk) kiosk will a play flash. There is button at the right bottom of flash. When the user click on that button We need to map/route this button click event to a method in WPF page in which the flash is playing. Way we have designed forms for playing flash: First we placed a
WebBrowser
control inside a "UserControl
" which inherits fromSystem.Windows.Forms
namespace. In runtime a flash file is assigned to this control and loaded into a "WindowsFormsHost
" control placed inside anXAML
page Thanks in Advance -
Hi We have a WPF application which runs on kiosk. On idle time (when no customer at kiosk) kiosk will a play flash. There is button at the right bottom of flash. When the user click on that button We need to map/route this button click event to a method in WPF page in which the flash is playing. Way we have designed forms for playing flash: First we placed a
WebBrowser
control inside a "UserControl
" which inherits fromSystem.Windows.Forms
namespace. In runtime a flash file is assigned to this control and loaded into a "WindowsFormsHost
" control placed inside anXAML
page Thanks in AdvanceIt might be easier if you use the System.Windows.Controls.WebBrowser control. See the WebBrowserControlSample in the SDK WPF samples, it shows how to interact with the scripts. Best regards, Paul.
Jesus Christ is LOVE! Please tell somebody.