I have placed a few flash animations in my slides. The Flash animations start
playing as soon as I arrive on the slide, and sometimes it starts from
mid-way through the animation. I want to be able to control the playback with
the spacebar or mouseclick so that the animation begins on my command (for
example hitting the spacebar). How can I do that?
To control the flash object as you want requires code. How are your VBA
skills?
Austin Myers
MS PowerPoint MVP Team
Provider of PFCPro, PFCMedia and PFCExpress
www.playsforcertain.com
>I have placed a few flash animations in my slides. The Flash animations
>start
[quoted text clipped - 3 lines]
> the spacebar or mouseclick so that the animation begins on my command (for
> example hitting the spacebar). How can I do that?
markiemark - 28 Oct 2007 20:55 GMT
I don't have any knowledge. But perhaps I can copy and paste from someplace.

Signature
no signature
> To control the flash object as you want requires code. How are your VBA
> skills?
[quoted text clipped - 12 lines]
> > the spacebar or mouseclick so that the animation begins on my command (for
> > example hitting the spacebar). How can I do that?
John Wilson - 29 Oct 2007 11:16 GMT
Do you not have any control via a right click menu?
eg set property playing to false at start then choose right click play?

Signature
Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
> I don't have any knowledge. But perhaps I can copy and paste from someplace.
>
[quoted text clipped - 14 lines]
> > > the spacebar or mouseclick so that the animation begins on my command (for
> > > example hitting the spacebar). How can I do that?
markiemark - 29 Oct 2007 15:01 GMT
Yes, I can set play to false and use the right click on the item to play and
stop. But it would look a lot more professional if all this would not be
visible to the audience. I would really like to just start it by a simple
click or space bar.
If I double click the shockwave object, the VBA window appears. If I knew
what codes to enter in there, I bet it would work.

Signature
no signature
> Do you not have any control via a right click menu?
>
[quoted text clipped - 18 lines]
> > > > the spacebar or mouseclick so that the animation begins on my command (for
> > > > example hitting the spacebar). How can I do that?
John Wilson - 29 Oct 2007 16:28 GMT
OK here's the simplest code I can think off that might work!
Go to the vb editor ignore the code that is already there. Make sure that
the project explorer window is open (view menu) and check the name of the
powerpoint object that has the flash. (probably something like slide1)
then enter this (not in the existing code) change slide1 to whatever
Sub playme()
With Slide1.ShockwaveFlash1 'assuming default names
.Playing = True
.Play
End With
End Sub
You will need to add an shape to trigger this with an action (insert action)
If you wish make this 99% transparent so it cannot be seen.

Signature
Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
> Yes, I can set play to false and use the right click on the item to play and
> stop. But it would look a lot more professional if all this would not be
[quoted text clipped - 26 lines]
> > > > > the spacebar or mouseclick so that the animation begins on my command (for
> > > > > example hitting the spacebar). How can I do that?
Chirag - 29 Oct 2007 17:03 GMT
Look at the VBA macros at the following location to control Flash movies:
http://officeone.mvps.org/vba/control_flash.html
- Chirag
PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
> Yes, I can set play to false and use the right click on the item to play
> and
[quoted text clipped - 33 lines]
>> > > > command (for
>> > > > example hitting the spacebar). How can I do that?
You might want to give PFCPro or PFCMedia a try (free two week trial) to
insert the file. (Once inserted you can get rid of the add in if you no
longer need it and the presentation will continue to play as expected.)
http://www.playsforcertain.com
Austin Myers
MS PowerPoint MVP Team
Provider of PFCPro, PFCMedia and PFCExpress
www.playsforcertain.com
>I have placed a few flash animations in my slides. The Flash animations
>start
[quoted text clipped - 3 lines]
> the spacebar or mouseclick so that the animation begins on my command (for
> example hitting the spacebar). How can I do that?
Thanks for all your suggestions. But ...
- I tried PFCMedia. The PFCMedia software didn't work. It does not modify
swf files. Simply inserts them. It's probabely useful for other media.
- The Officeone macros result in popup windows to show your flash movie. I
don't want a popup. I have inserted my flash movie where I want it on the
powerpoint slide, at the size I want it, and it looks very professional the
way it is. I just want to be able to start it with the spacebar.
- I tried the macro John Wilson suggested. But the flash movie runs anyways
when the slide starts. Maybe I did something wrong. There is code already in
there. When you say ignore it, do you mean write under it, within it, or
above it? When I delete it, it simply reappears automatically.
- Is there any other pulgin or 3rd party software that would do this?
Thanks
Mark

Signature
no signature
> I have placed a few flash animations in my slides. The Flash animations start
> playing as soon as I arrive on the slide, and sometimes it starts from
> mid-way through the animation. I want to be able to control the playback with
> the spacebar or mouseclick so that the animation begins on my command (for
> example hitting the spacebar). How can I do that?
John Wilson - 29 Oct 2007 20:47 GMT
I meant write under it.
You will need to set playing to false in properties to prevent it straing
automatically with the slide.

Signature
Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
> Thanks for all your suggestions. But ...
>
[quoted text clipped - 21 lines]
> > the spacebar or mouseclick so that the animation begins on my command (for
> > example hitting the spacebar). How can I do that?
markiemark - 29 Oct 2007 23:19 GMT
Still didn't work. I set playing to false. So the flash doesn't start
automatically now, which is good. The object action is set to the macro
"slide239.playme". But the mouse click only advances the slide, doesn't put
the flash into play. What am I doing wrong?
In the code, should there be anything in the parentheses for playme() ?
Mark

Signature
no signature
> I meant write under it.
>
[quoted text clipped - 26 lines]
> > > the spacebar or mouseclick so that the animation begins on my command (for
> > > example hitting the spacebar). How can I do that?
John Wilson - 30 Oct 2007 14:39 GMT
Did you set the object to 99% transparent (NOT no fill) Does the cursor
change to a hand when over it? I'm happy to take a look if you want email is
below
-- email john AT technologytrish.co.uk
Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
> Still didn't work. I set playing to false. So the flash doesn't start
> automatically now, which is good. The object action is set to the macro
[quoted text clipped - 34 lines]
> > > > the spacebar or mouseclick so that the animation begins on my command (for
> > > > example hitting the spacebar). How can I do that?
John Wilson - 29 Oct 2007 20:50 GMT
BTW if you do get it working and want to start it with the spacebar there's a
neat trick here. http://www.pptalchemy.co.uk/autovba.html

Signature
Amazing PPT Hints, Tips and Tutorials-
http://www.PPTAlchemy.co.uk
http://www.technologytrish.co.uk
email john AT technologytrish.co.uk
> Thanks for all your suggestions. But ...
>
[quoted text clipped - 21 lines]
> > the spacebar or mouseclick so that the animation begins on my command (for
> > example hitting the spacebar). How can I do that?