Link to a specific slide from Flash file embeded in PowerPoint

和自甴很熟 提交于 2019-12-13 02:06:18

问题


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:


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)



来源:https://stackoverflow.com/questions/12519794/link-to-a-specific-slide-from-flash-file-embeded-in-powerpoint

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!