Link to a specific slide from Flash file embeded i

2019-08-12 04:21发布

I am creating an interactive map in Flash that will be embedded in PowerPoint. I would like to have some hot spots on the Flash map that will link to specific PowerPoint slides within the presentation. Does anyone know how this would be coded?

I found a video that uses VB inside PowerPoint to link to the next slide, but it does not show how to pick a single slide: http://youtu.be/9YLqd8dKhcg

Thanks in advance.

1条回答
兄弟一词,经得起流年.
2楼-- · 2019-08-12 05:23

From the link you provided:

Private Sub ShockwaveFlash1_FSCommand(ByVa­l command As String, ByVal args As String)
With SlideShowWindows(1).View
.Next
End With
End Sub

Change that to:

Private Sub ShockwaveFlash1_FSCommand(ByVa­l command As String, ByVal args As String)
With SlideShowWindows(1).View
  .GoToSlide(lSlideIndex)
End With
End Sub

lSlideIndex is a long = the ordinal number of the slide in the presentation. i.e., if you want to go to 42nd slide, .GoToSlide(42)

查看更多
登录 后发表回答