Inserting AniGif during the show

  • Thread starter Thread starter KL
  • Start date Start date
K

KL

Suppose I want to change the fill of a shape to an anigif during the slideshow. I am using the following code, but the animation
appears frosen until I relaunch the show:

With ActivePresentation.Slides("Main").Shapes("Screen_Blank")
.Fill.UserPicture "J:\Ani50.gif"
End With

Any ideas how to fix this please?
 
Don't know anything about the code, but FYI macros do not work if the
presentation is being viewed with the viewer.
 
I believe that this is a problem with animated GIFs. I have had trouble
getting shapes to show and hide (using the .visible property) when slides
contain animated GIFs. I suspect that whatever you do will have spotty
results.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 
Hi David,

Thanks for your interest. Is there a work around with any other type of anymation? mpeg, avi, swf? What I am essentially trying to
achieve is a sort of screen which would show different looping animations changing upon clic on a shape/button (pretty much like TV
channel switch). Maybe it is possible to introduce a media object (o whatever the name) and then change its source during the show?
 
It might be possible (probably is), but I haven't done extensive testing.
Unfortunately, the problem with animated GIFs is intermittent so,
although I have been able to get hiding and showing to work on the same
slide as an animated GIF, it has not been consistent and small changes
can break it again. I would try using other media elements if I were you,
and you might try having a separate file that has the animation in it.
Use VBA to manipulate the file, maybe even close the file again, and then
link to the file. I don't know if it will work, but it is worth a shot.
--David

--
David M. Marcovitz
Microsoft PowerPoint MVP
Director of Graduate Programs in Educational Technology
Loyola College in Maryland
Author of _Powerful PowerPoint for Educators_
http://www.PowerfulPowerPoint.com/
 
Well, finally setting the Visible property to msoFalse and then during the show to msoTrue seems to do the trick with the anigif.
The only issue (to some extent) is that I will need to have all 6 anigifs embedded and they are pretty heavy (5Mb each). Apart from
that since all of them are looping, the fact that they start from the frame at which msoTrue would catch them doesn't really bother
me.
 
Back
Top