6 Replies Latest reply on Dec 16, 2008 5:52 AM by RossRitchey

    fscommand to powerpoint

    RossRitchey Level 4
      Someone on here is going to kill me for this question.....

      I've been looking around on the internet for about 2 1/2 hours, and toying around in Flash, and I can't get this to work.

      I need to embed a Flash SWF into a slide in Powerpoint, and have a button in the SWF tell powerpoint to go to a different slide. So, as a Proof-of-concept, here is the code in the SWF. (I tried it as AS3 and AS2, currently AS2)

      Btn.onPress = function(){

      No big whoop, right. When you press the button, execute this fscommand.

      Then, on the powerpoint slide, I have the following VBScript:

      Private Sub myFlash_FSCommand(ByVal command As String, ByVal args As String)
      ActivePresentation.SlideShowWindow.View.GotoSlide (args)
      End Sub

      So, in theory, when the fscommand is called, move the active presentation to slide "args" - which is what is passed in.

      What happens, instead, is nothing. The presentation just sits there.

      Does anyone know how to do this, or what I am doing wrong?

      I have the standalone Player 10