I create SWFs using Flash CS4. I can embed them fine and tney work, but if I save and close the presentation, they don't play when it is re-opened.

However, if I manually change the "Playing" property to "True" they play. Unfortunately, if I save and re-open the presentation "Playing" is always false.

Any suggestions?

link|improve this question

60% accept rate
Is there a background process that may still be running when this happens? Either Flash player, or perhaps PowerPoint itself? That would make the most sense. – Randolph West Mar 10 '11 at 20:40
1  
Further research indicates that it's a well-known problem. I'm still looking for a solution. It is most certainly not a background issue-rebooting doesn't change anything. – CarlF Mar 10 '11 at 21:18
Useful to know. Although I don't intend to ever embed SWFs in PowerPoint, I'm voting up your question because I think it's interesting. – Randolph West Mar 10 '11 at 21:43
feedback

1 Answer

up vote 0 down vote accepted

I ended up using a Visual Basic for Applications solution with this code, which should be adaptable to other people's uses if anyone reads this qustion later:

Sub OnSlideShowPageChange()
    If ActivePresentation.Slides(ActivePresentation.SlideShowWindow.View.CurrentShowPosition).Name = "Countdown" Then
        Dim obj As ShockwaveFlash
        Set obj = ActivePresentation.Slides("Countdown").Shapes("Timer1").OLEFormat.Object
        obj.Playing = True
        obj.Rewind
        obj.Play
    End If

    If ActivePresentation.Slides(ActivePresentation.SlideShowWindow.View.CurrentShowPosition).Name = "Countdown2" Then
        Dim obj2 As ShockwaveFlash
        Set obj2 = Nothing
        Set obj2 = ActivePresentation.Slides("Countdown2").Shapes("Timer2").OLEFormat.Object
        obj2.Left = -999
        MsgBox ("Its x position is now " & obj2.Left)
    End If

End Sub

I named two slides which had Flash movies on them as "Countdown" and "Countdown2" and the two movies as "Timer1" and "Timer2". The code below resets the critical properties of those movies when the specified slides are entered.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.