![]() |
|
#1
|
|||
|
|||
![]() Hi, I inserted a Shockwave file in my PPT document using the Developper Controls. I don't want to SWF to play automaticaly so I set the Properties / Movie to "false". Now to play movie I must right click and choose Play. I would like to know if it is possible to play the SWF by double clicking it? (instead of right click) Thanks |
#2
|
|||
|
|||
![]()
I think you can only do this with code. Assuming the name used is the default try having a button action run this:
Code:
Sub playme() Dim osld As Slide Set osld = SlideShowWindows(1).View.Slide osld.Shapes("ShockwaveFlash1").OLEFormat.Object.Playing = True End Sub |
#3
|
|||
|
|||
![]() Quote:
I assigned the code to a Command Button to play the SWF. When I tested it, nothing happened. Here there anything else I should do? Thanks a lot for you help |
#4
|
|||
|
|||
![]()
It doesn't need to be on a command button, any shape or button will work if you give it an action of run Macro.
Are you testing in slide show mode? Is the name of the flash object "ShockwaveFlash1"? Maybe post the slide online somewhere. |
#5
|
|||
|
|||
![]()
Hi,
Yes, I did test it in slide show mode. And the name of the flash object is "ShockwaveFlash1". It still doesn't work. I have attached a PPTX with a SWF inserted and the code added. Thank you so much for your help. |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Shockwave object not working | Steveedge | PowerPoint | 0 | 09-16-2010 05:37 AM |
Mouse double click problem in part protected sheets | rene01 | Excel | 0 | 08-25-2010 07:33 AM |
MS Office 2007 / WinXP / Network Files / CANNOT DOUBLE CLICK TO OPEN | bjwtech | Office | 0 | 08-02-2010 07:41 PM |
![]() |
Robarooney | Outlook | 1 | 08-05-2009 11:10 AM |
Cannot Double Click on Microsoft Word Document | weeleong87 | Word | 0 | 07-19-2009 05:54 AM |