|
||
---|---|---|
PowerPoint tips, hints and tutorials that will change your presentations for ever! | ||
Jigsaws |
Custom Custom Animation in PowerPoint A little known secret is that you can create your own custom animations in PowerPoint. This can only be done with code but once created the animations will play in PowerPoint without any code being present. All animations are composed of a set of "behaviors" in this example we count the behaviors in a standard animation and then add a further behavior that just creates a pause or delay. This can be useful if you want a series of animations to repeat with a set delay between them. On slide one the three shapes bounce with a two second delay between then On slide two we have added a repeat hoping to run the animation five times - It doesn't work, you cannot use delays like this. In slide three we have created an animation that adds a four second delay to each animation and now it works perfectly! Lets look at the code
First we check that a shape is selected and that it is animated. Then we count the number of behaviors in the first animation and add a further on which add a delay of 4 secs (change this in the line Const sngDelay As Single = 4) The code is basically saying AFTER the current animation duration keep me visible for another 4 seconds. NOTE This is not for beginners with code, always work on a copy of anything important!
|
|
Articles on your favourite sport Free Microsoft PowerPoint Advice, help and tutorials, Template Links |