Hi there,
I need to embed a flash animation in a PowerPoint file. I want to make
sure that the flash file starts playing from the beginning every time I
enter the slide that holds the Flash file.(by default the flash file
just continues playing from where it last stopped)
I found a vb macro which should do this. However I can't get it to work.
I'm using Pore point 2003 and a flash player 6 swf.
Any ideas?
Cheers
Robin
' vb script
Private Sub ShockwaveFlash1_OnReadyStateChange(ByVal newState As Long)
Dim swf As ShockwaveFlash
Dim FrameNum As Long
' Define the slide and the Flash object to whom you'd like to speak
Set swf = Slide1.ShockwaveFlash1
' Tell it to stop playing.
swf.Playing = False
' Tell it to return to the first frame (swf.Rewind)
swf.GotoFrame (1)
' Tell it to start playing again
swf.Play
End Sub
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com