發問發問
 

已答覆WPF hosting Flash

  • Wednesday, 1 February, 2006 12:30Raja_Pols 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    Hi,

    I want to host a SWF file in XAML layout. Is this possible at all? and if so what is the way to do?

    Thanks

解答

  • Wednesday, 1 February, 2006 18:35irhetoric 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    The other way to do this is to use the WinFormsHost and then use that to host the Flash .ocx, which lives down in c:\windows\system32\macromed\flash -- you'll have to run AxImp.exe from the .net sdk on the Flash ocx. 

    Check out the sample on WinFormsHost in the SDK (under interop) to get started...

    --Karsten

     

所有回覆

  • Wednesday, 1 February, 2006 15:19eburke 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     

    try using the Frame object.

    <Window>
    <Frame Source="myflash.swf"/>

    </Window>

  • Wednesday, 1 February, 2006 18:35irhetoric 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     已答覆

    The other way to do this is to use the WinFormsHost and then use that to host the Flash .ocx, which lives down in c:\windows\system32\macromed\flash -- you'll have to run AxImp.exe from the .net sdk on the Flash ocx. 

    Check out the sample on WinFormsHost in the SDK (under interop) to get started...

    --Karsten