The information in this article applies to:
SUMMARYThis article describes how to control a Shockwave Flash Control on a slide in your presentation. For more information about how to insert the control into your slide, click the article number below to view the article in the Microsoft Knowledge Base: Q250974 PPT2000: How to Add a Shockwave Flash Control to Your Slide MORE INFORMATIONMicrosoft provides programming examples for illustration only, without warranty
either expressed or implied, including, but not limited to, the implied warranties of
merchantability and/or fitness for a particular purpose. This article assumes that you
are familiar with the programming language being demonstrated and the tools used to
create and debug procedures. Microsoft support professionals can help explain the functionality
of a particular procedure, but they will not modify these examples to provide added
functionality or construct procedures to meet your specific needs. If you have limited
programming experience, you may want to contact a Microsoft Certified Solution Provider
or the Microsoft fee-based consulting line at (800) 936-5200. For more information about
Microsoft Certified Solution Providers, please see the following page on the World Wide Web:
http://www.microsoft.com/mcsp/For more information about the support options available from Microsoft, please see the following page on the World Wide Web: http://www.microsoft.com/support/supportnet/overview/overview.asp NOTE: The following macro examples only work from within the PowerPoint application. Visual Basic for Applications macros are not supported by the Microsoft PowerPoint Viewer. For additional information, please see the following article in the Microsoft Knowledge Base: Q230746 PPT: Viewer: Presentation Macros Don't Run Within the ViewerCreate the following code samples and then link them to action buttons. StartThe following subroutine starts the Flash animation: NOTE: Slide# is the slide where the Shockwave Flash control is located. ShockwaveFlash# is the name of the Shockwave Flash Control on the slide; replace this with the actual name of the control.
StopThe following subroutine stops the animation:
RewindThe following subroutine rewinds the animation back to the beginning:
Adding and Configuring an Action ButtonUse the following steps to link the code to the action buttons of your choice.
REFERENCESFor more information about running a macro during a slide show, click Microsoft PowerPoint Help on the
Help menu, type Setup a macro to run during a slide show in the Office Assistant or
the Answer Wizard, and then click Search to view the topic. Q222703 PPT2000: How To Manipulate ActiveX Controls Through VBA Macros Additional query words: vba
Keywords : kbdta kbdtacode OffVBA KbVBA |
Last Reviewed: January 18, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |