I will give you a sample code:
Be sure to add the Flash.OCx to your Foxpro by going to Tools->Options->Controls->Select & tick ActiveX controls from the option group -> click add then browse from your windows system directory, apply ok..
After that, drop the Flash Olecontrol on your form...
In your forms init procedure, put something like the code below to load the movie.
THISFORM.FlashMovie.Movie = SYS(5) + CURDIR() + "FlashMovie.SWF"
THISFORM.FlashTimer.Loop = .F.Code to play the movie
THISFORM.Flashmovie.play()Code to stop the movieThisform.FlashMovie.stop()just change
FlashMovie.swf according to your movie name..