fscommand not working in VSTO add-in RRS feed

  • Question

  • Hi,

    I have developed a word 2007 add-in, which contains a ribbon button. On clicking this button, a windows form is to be loaded which contains a flash control loaded. Also commands are to be received from this control.

    The flash movie is loading fine. But the fsCommand event is not working/firing on clicking a button present in the flash movie.

    I have used the AxShockwaveFlash control for loading flash. The flash player's version is

    Please suggest me what to do to fix this issue?

    Thanks in advance,


    Surya Praveen
    Tuesday, April 26, 2011 10:01 AM

All replies

  • Hi Surya,

    what exaclty should happen when you click one of the Flash Buttons?
    Since the Flash movie is already loading and displaying I assume it's an error in the Flash movie.

    Maybe an Url is not reachable.

    If you want todo someting in the AddIn when you click a Flash button - you need to connect the button events somehow to the AddIn code behind.

    Maybe using the HTMLDom object of the Webpage.

    Greets - Helmut

    Helmut Obertanner [] []
    Tuesday, April 26, 2011 10:13 AM
  • Hi Helmut,


    The same flash movie's FSCommand Event is successfully captured in a windows application. However, in add-in its not working.


    You have mentioned about HTMLDom in your reply. Can you provide any example how to capture commands in a flash file using HTMLDom?




    Surya Praveen
    Tuesday, April 26, 2011 11:11 AM
  • Hi Surya,

    I have no Idea how to interact between a Flash.swf and a .Net application.
    How do you capture this in your other .Net Application where you mentioned it is working?

    What is a FSCommand Event and what exactly do you want to archive?

    I would say this is done by calling a java script code in the HTML document.

    Maybe it's a security restriction.

    However - I think this has nothing todo with VSTO - so maybe ask in a Flash programming - Forum.

    Greets - Helmut

    Helmut Obertanner [] []
    Tuesday, April 26, 2011 2:09 PM