There are a lot of people asking how to embed Prezi to PowerPoint presentation.
Someone give a solution such as insert a swf prezi file downloaded to PowerPoint.
This works fine for the newly inserted swf prezi.
Unfortunately, when you save your work, close your PowerPoint, and then re-open it,you will find that your swf prezi page will be locked and not able to run any more.
The following is my solution:
1) create two VBA macros in PowerPoint: one of them named addPreziSwf and the other named deletePreziSwf.
Contents of addPreziSwf are as follows:
Sub addPreziswf()
Dim s As Shape
Set s = ActivePresentation.Slides(1).Shapes.AddOLEObject(120, 120, 320, 320, ClassName:="ShockwaveFlash.ShockwaveFlash")
With s.OLEFormat.Object
.Left = 30
.Top = 40
.Height = 500
.Width = 660
.Movie = "prezi.swf"
End With
With SlideShowWindows(1).View
.GotoSlide 2
.GotoSlide 1, msoFalse
End With
End Sub
Contents of deletePreziSwf are as follows:
Sub deletePreziswf()
Dim myDocument As Slide
Set myDocument = ActivePresentation.Slides(1)
myDocument.Shapes("ShockwaveFlash1").Delete
End Sub
2) Draw two shapes as buttons and attach actions to the two buttons. One of the button attach the addPreziswf macro. Another button attach the deletePreziswf macro.
3) Save the PowerPoint as PowerPoint macro enabled presentation (*.pptm)
You can now close the PowerPoint document and exit PowerPoint.
When you re-open the PowerPoint document,
a) click slideshow: activate slideshow mode
b) click the addPreziSwf button: run the Prezi swf movie
c) If you want to delete the Prezi swf movie during the slideshow, just click the deletePreziSwf button.
This solution works perfectly. Enjoy!!
No comments:
Post a Comment