链接到从Flash文件中的特定幻灯片内嵌在PowerPoint幻灯片、内嵌、链接、文件

2023-09-08 11:44:57 作者:对你没興趣

我在Flash中创建一个交互式的地图,将被嵌入在PowerPoint中。我想有一些热点的闪图,将内presentation链接到特定的PowerPoint幻灯片上。有谁知道这将是codeD?

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?

我发现,使用VB里面的PowerPoint链接到下一个幻灯片视频,但它并没有说明如何挑选一张幻灯片:的 http://youtu.be/9YLqd8dKhcg

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

在此先感谢。

推荐答案

从您提供的链接:

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

改成:

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

lSlideIndex 是在presentation幻灯片长=序号。也就是说,如果你想去42滑动, .GoToSlide(42)

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)