axshockwaveflash

C# / ActionScript with AxShockwaveFlash

让人想犯罪 __ 提交于 2020-01-04 05:54:09
问题 I am new to ActionScript and am trying to communicate between AS and C#. Every tutorial/explanation I find seems to be exactly the same, but I simply cannot get it to work. callFunction throws a COM exception ("E_FAIL"), and when I try calling ExternalInterface.call() from the AS, it never seems to. I've gotten this to work in JavaScript/HTML, but I'm out of ideas for C#; I suspect I'm doing something wrong/not allowed in my AS. I compile the AS file with Adobe Flex 4.6 and mxmlc. Edit: Just

how to write an event for shockWave flash object

纵饮孤独 提交于 2019-12-14 03:24:46
问题 Is there any way to write click event for shockWave flash object? 回答1: AFAIK there is no way of doing this without modifing the flash application (swf) or at least wrapping it in a new one. Once you are able to capture the click event in Flash, you can use any of the communication schemes available for flash+a host application . You could use in this scenario: -FS Command ("Sending Data from a Flash Movie to the Hosting C# Application" in CodeProject) -External Interface ("Fun with C# and the

Controls don't show over Winforms Host

你。 提交于 2019-12-11 03:56:28
问题 I am trying to load a swf file as background for my WPF window. For this I have used a WinformHost and I load the swf movie in the Winform host using the plugin AxShockwaveFlashObjects. <Grid> <WindowsFormsHost Name="wfh"> <ax:AxShockwaveFlash x:Name="axFlash"/> </WindowsFormsHost> </Grid> Till here the application works fine. However when I add my other controls(buttons,textblocks etc) to the Grid, they dont show. All I see is just the movie. Any pointers please. 回答1: This is actually